1.0.0 • Published 2 years ago

pcg-button-ui v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

pcg-button-ui

different button react components

NPM JavaScript Style Guide

Install

npm install --save pcg-button-ui

Usage

import React from 'react'

import { Button } from 'pcg-button-ui'
import 'pcg-button-ui/dist/index.css'

const App = () => {
  return(
  <>
    <Button text="Text Button" type="text"/>
    <br /><br />
    <Button text="Default Button" type="default"/>
    <br /><br />
    <Button text="Dashed Button" type="dashed"/>
    <br /><br />
    <Button text="Primary Button" type="primary"/>
    <br /><br />
    <Button text="Link Button" type = "link"/>
  </>
  )
}

export default App

License

MIT © YusufDagdeviren

1.0.0

2 years ago