0.4.6 • Published 4 years ago

@bdt-component-library/accordion v0.4.6

Weekly downloads
52
License
MIT
Repository
github
Last release
4 years ago

Accordion Component

About

This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.

Description

Handles display of accordions according to style guide conventions.

API

proptyperequireddefaultexplanation
childrenReact nodeyesn/aThe components to render inside the accordion
classNamestringnon/aAdds an optional classname to the component
variantenum("h2", "h3", "h5", "h5")no"h3"Changes typography style of the title prop
isOpenbooleannofalseDetermines open state of accordion
titlestringnoundefinedOptional title for accordion
idstringnon/aAdds an optional id to the children wrapper in the component
0.4.6

4 years ago

0.4.5

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.4

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago