MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / Example

Function Example

stories/examples/Card/Backgrounds.js:5–28  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

3import { colors } from '../options';
4
5function 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
30export default Example;
31

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…