0.4.5 • Published 4 years ago
@bdt-component-library/list-item v0.4.5
ListItem 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 list items according to style guide conventions.
API
prop | type | required | default | explanation |
---|---|---|---|---|
className | string | no | n/a | Adds an optional classname to the component |
children | React node | yes | n/a | The inner content of the list item |
hasBulletIcon | boolean | no | false | Changes list style accommodate icons for list bullet marks |