@fenderdigital/react-divider
v1.0.1
Published
Fender React UI Kit Divider Component
Downloads
2
Readme
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 --save
import 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.