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

Function Example

stories/examples/ButtonGroup/Nesting.js:11–30  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

9} from 'reactstrap';
10
11function Example(props) {
12 return (
13 <ButtonGroup className="my-2">
14 <Button color="secondary">Left</Button>
15 <Button color="secondary">Middle</Button>
16 <ButtonGroup>
17 <UncontrolledDropdown>
18 <DropdownToggle caret>Dropdown</DropdownToggle>
19 <DropdownMenu>
20 <DropdownItem header>Header</DropdownItem>
21 <DropdownItem disabled>Action</DropdownItem>
22 <DropdownItem>Another Action</DropdownItem>
23 <DropdownItem divider />
24 <DropdownItem>Another Action</DropdownItem>
25 </DropdownMenu>
26 </UncontrolledDropdown>
27 </ButtonGroup>
28 </ButtonGroup>
29 );
30}
31
32export default Example;
33

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…