@bdt-component-library/indent-section
v0.1.4
Published
IndentSection component
Downloads
3
Readme
IndentSection 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 content that is indented. The content (passed as children) appears to the left of a straight vertical line, giving the appearance of indentation from the content above and below it.
- https://zeroheight.com/990ea04ab/p/56862f-indent-section
API
| prop | type | required | default | explanation | |-----------|--------|----------|---------|--------------| | className | string | no | "" | Adds an optional classname | | children | any | yes | none | The content that is displayed within the indented section |