@fenderdigital/react-divider
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i @fenderdigital/react-divider

Weekly Downloads

2

Version

1.0.1

License

UNLICENSED

Unpacked Size

62.5 kB

Total Files

10

Last publish

Collaborators

  • stevenhuynh
  • markv242
  • coopercodecomposer
  • sherbert
  • jcuanan
  • derduher
  • philipyun
  • theloopla
  • jemnon