1.1.1 • Published 2 years ago

tg-button-ui v1.1.1

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

tg-button-ui

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install tg-button-ui --legacy-peer-deps

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 { Buttons} from 'tg-button-ui'
import 'tg-button-ui/dist/index.css'

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

License

MIT © tugceguzle

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago