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

Function Example

stories/examples/Card/ImageOverlay.js:4–27  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

2import { Card, CardTitle, CardText, CardImg, CardImgOverlay } from 'reactstrap';
3
4function Example(props) {
5 return (
6 <div>
7 <Card inverse>
8 <CardImg
9 width="100%"
10 src="https://picsum.photos/900/270?grayscale"
11 alt="Card image cap"
12 style={{ height: 270 }}
13 />
14 <CardImgOverlay>
15 <CardTitle tag="h5">Card Title</CardTitle>
16 <CardText>
17 This is a wider card with supporting text below as a natural lead-in
18 to additional content. This content is a little bit longer.
19 </CardText>
20 <CardText>
21 <small className="text-muted">Last updated 3 mins ago</small>
22 </CardText>
23 </CardImgOverlay>
24 </Card>
25 </div>
26 );
27}
28
29export default Example;
30

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…