0.0.7 • Published 3 years ago
tackleui2 v0.0.7
React UI Component Library
https://www.npmjs.com/package/tackleui2
A collection of reusable React UI components.
Right now, I am coming up with a list of simple components to add in this package.
Usage
Run npm i --save tackleui2
in your project root (that contains the package.json
file) to get started.
Example
import { Button } from 'tackleui2'
...
// A simple button with just mandatory lable
// all other props take default values
<Button label="Click Me" />
// A customised button with values provided for optional props
<Button
label = 'Hello World'
size = 'lg'
btnType = 'primary'
onClick = { onClickHandler }
rounded = 'soft'
isLoading = { true }
loadingIcon = { <SomeLoaderComponent/> }
/>