.. |
AccordionTitle |
AccordionBlock.tsx |
AccordionHeader.tsx |
AccordionWrap.tsx |
ButtonAdapter.tsx |
README.md |
index.ts |
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
...