npm.io
1.0.14 • Published 5 years ago

blasko-cool-buttons

Licence
MIT
Version
1.0.14
Deps
0
Size
15 kB
Vulns
0
Weekly
0
Stars
1

Getting Started with Blasko Cool Buttons

This project is dummy project. I wanted to learn through it how to create react package.

Installation and usage

The easiest way to use my dummy package is to install it from npm and paste code into your React app.

import { CoolButton } from 'blasko-cool-buttons';
...
const buttons = [
    { 
        text: "First button", 
        border: true, 
        radius: true, 
        width: 100, 
        height: 30
    }
]
...
<CoolButton buttons={buttons} />

Testing with Storybook

npm run storybook

Build package

npm run build-lib