0.1.1 • Published 4 years ago

@bdt-component-library/description-list v0.1.1

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

DescriptionList 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

This component wraps DescriptionListItem to enforce proper layout. It displays headings and values in a list format---either horizontally or vertically.

API

proptyperequireddefaultexplanation
classNamestringno""Adds a class to the component
childrenReact node(s)yesn/aThe component(s) to receive the DescriptionList layout
inlinebooleannofalseDetermines whether the heading and children render horizontally or vertically
0.1.1

4 years ago

0.1.0

4 years ago