Skip to content

Accordion #209

@Ibabalola

Description

@Ibabalola
  1. We would like to create a basic accordion component like the following template:
<Accordion titleClassName="" detailsClassName="" multipleOpen={false|true} expanded='panel2' expandIcon={genericComponent}>
  <AccordionItem title="panel1" className="" accordionProps={} >
    <AccordionTitle className="" titleProps={} />
    <AccordionDetails className={} detailsProps={} />
  </AccordionItem>
  <AccordionItem>
    <AccordionTitle/>
    <AccordionDetails/>
  </AccordionItem>
</Accordion>

Please make sure that the component works as well without JS enabled
Another example is the following: https://design-system.service.gov.uk/components/accordion/
Important: please use release/1.0.0 as base branch

git checkout release/1.0.0
git pull
git checkout -b 'feature/accordion'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions