0.0.9 • Published 2 years ago
complib-vane-test v0.0.9
React UI Component Library
A collection of reusable React UI components.
Usage
Run npm i --save {name our library}
in your project root (that contains the package.json
file) to get started.
Example
import { Button } from '{name our library}'
...
// A simple button with just mandatory lable
// all other props take default values
<Button label="Can't click Me" size = 'md' isDisabled="true" btnType="personalized"/>
// A customised button with values provided for optional props
<Button
label = 'Hello World'
size = 'lg'
btnType = 'primary'
onClick = { onClickHandler }
/>