MCPcopy Create free account
hub / github.com/adobe/react-spectrum / JournalEntries

Function JournalEntries

examples/rsp-webpack-4/src/JournalEntries.js:3–17  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

1import {Flex, Divider} from '@adobe/react-spectrum';
2
3function JournalEntries(props) {
4 const element = props.list.map(item => (
5 <li key={item.id}>
6 <Divider size="M" marginTop="size-200" marginBottom="size-300" />
7 <p>Your day was: {item.rate} </p>
8 <p>{item.description}</p>
9 </li>
10 ));
11
12 return (
13 <Flex direction="column">
14 <ul className="no-bullets">{element}</ul>
15 </Flex>
16 );
17}
18
19export default JournalEntries;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected