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

Function Example

stories/examples/ListGroup/LinksAndButtons.js:4–53  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

2import { ListGroup, ListGroupItem } from 'reactstrap';
3
4function Example(props) {
5 return (
6 <div>
7 <h3>Links </h3>
8 <p>
9 Be sure to{' '}
10 <strong>
11 not use the standard <code>.btn</code> classes here
12 </strong>
13 .
14 </p>
15 <ListGroup>
16 <ListGroupItem active tag="a" href="#" action>
17 Cras justo odio
18 </ListGroupItem>
19 <ListGroupItem tag="a" href="#" action>
20 Dapibus ac facilisis in
21 </ListGroupItem>
22 <ListGroupItem tag="a" href="#" action>
23 Morbi leo risus
24 </ListGroupItem>
25 <ListGroupItem tag="a" href="#" action>
26 Porta ac consectetur ac
27 </ListGroupItem>
28 <ListGroupItem disabled tag="a" href="#" action>
29 Vestibulum at eros
30 </ListGroupItem>
31 </ListGroup>
32 <p />
33 <h3>Buttons </h3>
34 <ListGroup>
35 <ListGroupItem active tag="button" action>
36 Cras justo odio
37 </ListGroupItem>
38 <ListGroupItem tag="button" action>
39 Dapibus ac facilisis in
40 </ListGroupItem>
41 <ListGroupItem tag="button" action>
42 Morbi leo risus
43 </ListGroupItem>
44 <ListGroupItem tag="button" action>
45 Porta ac consectetur ac
46 </ListGroupItem>
47 <ListGroupItem disabled tag="button" action>
48 Vestibulum at eros
49 </ListGroupItem>
50 </ListGroup>
51 </div>
52 );
53}
54
55export default Example;

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…