1.0.1 • Published 6 years ago
@fenderdigital/react-divider v1.0.1
Divider for Fender React UI Kit
Description
A simple horizontal rule with customizable color. Component is 100% of its container.
Installation and Usage
yarn install @fenderdigital/react-divider --saveimport Divider from '@fenderdigital/react-divider';Props
color- what color should the divider should be.width- width of the divider, a range between 1 and 5, leaving it blank will result in a very thin line
| propName | propType | defaultValue | isRequired |
|---|---|---|---|
| color | string | black | no |
| width | number | null | no |
Development
Check the Monorepo README for development documentation.