1.0.1 • Published 2 years ago
darrien v1.0.1
Kyles-Component-Library
install prettier Globally - sudo npm install --global prettier
Adding to npm
- npm login
- make sure to change the package name to what you want your library to be called
- npm publish
Using the library locally
- go to your project
- npm i npm i ../../Kyles-Component-Library
Import
import { Button } from "Kyles-Component-Library"
Using it
<Button color="red" backgroundColor="black" style={{ padding: 35 }} onClick={() => alert('yoo momaaaa')}
Cool Button