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

Function Example

stories/examples/Badge/Pills.js:4–33  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

2import { Badge } from 'reactstrap';
3
4function Example(props) {
5 return (
6 <div>
7 <Badge color="primary" pill>
8 Primary
9 </Badge>
10 <Badge color="secondary" pill>
11 Secondary
12 </Badge>
13 <Badge color="success" pill>
14 Success
15 </Badge>
16 <Badge color="danger" pill>
17 Danger
18 </Badge>
19 <Badge color="warning" pill>
20 Warning
21 </Badge>
22 <Badge color="info" pill>
23 Info
24 </Badge>
25 <Badge color="light" pill className="text-dark">
26 Light
27 </Badge>
28 <Badge color="dark" pill>
29 Dark
30 </Badge>
31 </div>
32 );
33}
34
35export default Example;
36

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…