(props)
| 1 | import {Flex, Divider} from '@adobe/react-spectrum'; |
| 2 | |
| 3 | function 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 | |
| 19 | export default JournalEntries; |
nothing calls this directly
no outgoing calls
no test coverage detected