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