Repository URL to install this package:
|
Version:
0.14.1 ▾
|
| .. |
| AccordionBlock.tsx |
| AccordionHeader.tsx |
| AccordionTitle.tsx |
| AccordionWrap.tsx |
| README.md |
| _elements.tsx |
| index.tsx |
| styled.tsx |
| typings.ts |
with text, activeText, renderProps, commonState, and uxui-modules/collapse, the Accordion is useful for all sorts of toggling; from the plp, to pdp, to select dropdown
isVisible and onToggle then it ignores its own state, and lets you send it the primitives & handle the updating & calls your toggle prop<Wrap> <WrapBox> <Title> <Text /> <Icon /> <!-- renderIcon --> </Title> <Collapse> <Box> <!-- renderBox() --> children </Box> </Collapse> </WrapBox> </Wrap>
id ...