1.0.1 • Published 2 years ago

cns-ui v1.0.1

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

cns-ui

Made with create-react-library

NPM JavaScript Style Guide

📦 Install

npm install  cns-ui
yarn add  cns-ui

🔨 Usage

import { IconButton, Button } from 'cns-ui'
import 'cns-ui/dist/index.css'

const App = () => {
  return (
    <>
        <IconButton text="Twitter" type="twitter"/>
        <IconButton text="Linkedin" type="linkedin"/>
        <IconButton text="Github" type="github"/>
        <Button text="Primary" type="primary"/>
        <Button text="Warning" type="warning"/>
        <Button text="Success" type="success"/>
        <Button text="Danger" type="danger"/>
        <Button text="Light" type="light"/>
        <Button text="Dark" type="dark"/>
    </>
  )
}

✨ Components Overview

overview

overview-hover

Button has 2 properties.

  • Type : {primary, success, warning, danger, light, dark}
  • Text : any text.

IconButton has 2 properties.

  • Type : {twitter, linkedin, github}
  • Text : your social media username

License

MIT © cnsbelirdi