thedevdesigner-react-lib
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

React UI Component Library

https://www.npmjs.com/package/thedevdesigner-react-lib

A collection of reusable React UI components, by yours truly, thedevdesigner.

Right now, I am coming up with a list of simple components to add in this package.

Usage

Run npm i --save thedevdesigner-react-lib in your project root (that contains the package.json file) to get started.

Example

import { Button } from 'thedevdesigner-react-lib'
...
// 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/> }
/>

Readme

Keywords

Package Sidebar

Install

npm i thedevdesigner-react-lib

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

13.8 kB

Total Files

23

Last publish

Collaborators

  • aakash1103jha