Skip to content

tugceguzle/tg-button-ui

Repository files navigation

tg-button-ui

Made with create-react-library

NPM JavaScript Style Guide

BUTTONS

buttons

Install

npm install --save tg-button-ui

Usage

TYPE = [small , large , radius-1 , radius-2 , shadow , dotted , dashed]
COLOR = [baby-blue , melon , mint-green , lilac , pome-flo , turquoise , purple , fuchsia , orange]

import React, { Component } from 'react'

import { Button as MyComponent } from 'tg-button-ui'
import 'tg-button-ui/dist/index.css'

class Example extends Component {
  render() {
    return (
     <MyComponent type='small' text='small'/>
     <MyComponent text='default'/>
     <MyComponent type='large' text='large'/>
     <MyComponent text="radius-1" type="radius-white"/>
     <MyComponent text="radius-2" type="radius-colorful"/>
     <MyComponent text="shadow" type="shadow"/>
     <MyComponent text="dotted" type="dotted"/>
     <MyComponent text="dashed" type="dashed"/>
     <MyComponent text='default' color="baby-blue"/>
     <MyComponent text="radius-1" type="radius-white" color="orange"/>
    )
  }
}

License

MIT © tugceguzle

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published