Accordion
This is the <Accordion />
component. Use the appearance
to change the variants
- Presentation
- Source
Question 3
Answer
Question 1
Answer
Question 2
Answer
@candy/kitkat/accordion
<Accordion appearance="tertiary" heading="Question 3"> Answer</Accordion>
Component API
Name | Type | Default | Description |
---|---|---|---|
children | String /ReactNode | - | Content |
css | CSSProperties | - | Custom CSS styles (Stiches format) |
appearance | string | generic | One of: generic info warning success error |