(args)
| 9 | const directions = ['up', 'down', 'end', 'start']; |
| 10 | |
| 11 | export default function Example(args) { |
| 12 | return ( |
| 13 | <div className="d-flex p-5 justify-content-center"> |
| 14 | {directions.map((direction) => ( |
| 15 | <UncontrolledDropdown |
| 16 | direction={direction} |
| 17 | key={direction} |
| 18 | className="me-2" |
| 19 | > |
| 20 | <DropdownToggle caret color="primary"> |
| 21 | {`Drop${direction}`} |
| 22 | </DropdownToggle> |
| 23 | <DropdownMenu> |
| 24 | <DropdownItem header>Header</DropdownItem> |
| 25 | <DropdownItem disabled>Action</DropdownItem> |
| 26 | <DropdownItem>Another Action</DropdownItem> |
| 27 | <DropdownItem divider /> |
| 28 | <DropdownItem>Another Action</DropdownItem> |
| 29 | </DropdownMenu> |
| 30 | </UncontrolledDropdown> |
| 31 | ))} |
| 32 | </div> |
| 33 | ); |
| 34 | } |
| 35 | |
| 36 | Example.parameters = { |
| 37 | docs: { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…