npm.io
1.0.2 • Published 5 years ago

blasko-cool-buttons-typescript

Licence
ISC
Version
1.0.2
Deps
2
Size
44 kB
Vulns
0
Weekly
0

Getting Started with Blasko Cool Buttons Typescript version

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} />

Build package

npm run build-lib

Keywords