1.0.1 • Published 4 years ago

@fenderdigital/react-divider v1.0.1

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
4 years ago

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
propNamepropTypedefaultValueisRequired
colorstringblackno
widthnumbernullno

Development

Check the Monorepo README for development documentation.