(props)
| 7 | } from 'reactstrap'; |
| 8 | |
| 9 | function Example(props) { |
| 10 | return ( |
| 11 | <div> |
| 12 | <UncontrolledAccordion defaultOpen="1"> |
| 13 | <AccordionItem> |
| 14 | <AccordionHeader targetId="1">Accordion Item 1</AccordionHeader> |
| 15 | <AccordionBody accordionId="1"> |
| 16 | <strong>This is the first item‘s accordion body.</strong> |
| 17 | You can modify any of this with custom CSS or overriding our default |
| 18 | variables. It‘s also worth noting that just about any HTML can |
| 19 | go within the <code>.accordion-body</code>, though the transition |
| 20 | does limit overflow. |
| 21 | </AccordionBody> |
| 22 | </AccordionItem> |
| 23 | <AccordionItem> |
| 24 | <AccordionHeader targetId="2">Accordion Item 2</AccordionHeader> |
| 25 | <AccordionBody accordionId="2"> |
| 26 | <strong>This is the second item‘s accordion body.</strong> |
| 27 | You can modify any of this with custom CSS or overriding our default |
| 28 | variables. It‘s also worth noting that just about any HTML can |
| 29 | go within the <code>.accordion-body</code>, though the transition |
| 30 | does limit overflow. |
| 31 | </AccordionBody> |
| 32 | </AccordionItem> |
| 33 | <AccordionItem> |
| 34 | <AccordionHeader targetId="3">Accordion Item 3</AccordionHeader> |
| 35 | <AccordionBody accordionId="3"> |
| 36 | <strong>This is the third item‘s accordion body.</strong> |
| 37 | You can modify any of this with custom CSS or overriding our default |
| 38 | variables. It‘s also worth noting that just about any HTML can |
| 39 | go within the <code>.accordion-body</code>, though the transition |
| 40 | does limit overflow. |
| 41 | </AccordionBody> |
| 42 | </AccordionItem> |
| 43 | </UncontrolledAccordion> |
| 44 | </div> |
| 45 | ); |
| 46 | } |
| 47 | |
| 48 | export default Example; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…