@bdt-component-library/list-item
v0.4.5
Published
List Item component
Downloads
33
Readme
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.
- https://zeroheight.com/990ea04ab/p/000580-lists
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 |