1.0.2 • Published 6 years ago

react-small-label v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

react-small-label

Features

  • React components to create labels in small font(eg.less than 12px).

Installation

npm install react-small-label --save

Usage

import SmallLabel from 'react-small-label';

ReactDOM.render(<SmallLabel text="Test Content" fontSize="6px" />, container);

API

PropTypeDescriptionDefault
classNamestringcustom class
styleobjectcustom style
fontSizestringcustom font size'14px'
fontFamilystringcustom font family'sans-serif'
fontColorstringcustom font color'#000000'
textstringlabel content
widthnumbercustom width of label
heightnumbercustom height of label
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago