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

Function Example

stories/examples/Collapse/Uncontrolled.js:4–22  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

2import { UncontrolledCollapse, Button, CardBody, Card } from 'reactstrap';
3
4function Example(props) {
5 return (
6 <div>
7 <Button color="primary" id="toggler" style={{ marginBottom: '1rem' }}>
8 Toggle
9 </Button>
10 <UncontrolledCollapse toggler="#toggler">
11 <Card>
12 <CardBody>
13 Lorem ipsum dolor sit amet consectetur adipisicing elit. Nesciunt
14 magni, voluptas debitis similique porro a molestias consequuntur
15 earum odio officiis natus, amet hic, iste sed dignissimos esse fuga!
16 Minus, alias.
17 </CardBody>
18 </Card>
19 </UncontrolledCollapse>
20 </div>
21 );
22}
23
24export default Example;
25

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…