@bdt-component-library/divider
v0.1.2
Published
Divider component
Downloads
3
Readme
Divider 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 serves the same purpose as a horizontal rule, with flexible top and bottom margins.
- https://zeroheight.com/990ea04ab/p/4008e9-divider
API
| prop | type | required | default | explanation | |-----------|--------|----------|---------|--------------| | className | string | no | "" | Adds an optional classname | | noBottomMargin | boolean | no | false | Removes default bottom margin | | noTopMargin | boolean | no | false | Removes default top margin |