(props)
| 3 | import { colors } from '../options'; |
| 4 | |
| 5 | function Example(props) { |
| 6 | return ( |
| 7 | <> |
| 8 | {colors.map((color) => ( |
| 9 | <Card |
| 10 | inverse={color !== 'light'} |
| 11 | color={color} |
| 12 | key={color} |
| 13 | className="my-2" |
| 14 | style={{ width: '18rem' }} |
| 15 | > |
| 16 | <CardHeader>Header</CardHeader> |
| 17 | <CardBody> |
| 18 | <CardTitle tag="h5">Special Title Treatment</CardTitle> |
| 19 | <CardText> |
| 20 | With supporting text below as a natural lead-in to additional |
| 21 | content. |
| 22 | </CardText> |
| 23 | </CardBody> |
| 24 | </Card> |
| 25 | ))} |
| 26 | </> |
| 27 | ); |
| 28 | } |
| 29 | |
| 30 | export default Example; |
| 31 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…