0.1.2 • Published 3 years ago
@bdt-component-library/divider v0.1.2
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.
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 |