hamzagic-complibreact
v3.3.0
Published
ReactJS library
Readme
Complib
A series of ReactJS components, ready to be used.
Installation
npm install --save hamzagic-complibreact
Documentation
TBD
Implementation example
import { Button } from 'hamzagic-reactcomplib';Then you will have a series of props to set the button layout:
text: button's text
color: font color
background: background color
border: button's border settings
padding: element padding
radius: border-radius
All settings follow css syntax.
Example:
<Button
text='My text'
color='white'
background='blue'
border='none'
padding='5px 20px'
fontSize='16px'
radius='5px' />