@gdo-bzh/button
v1.0.0-rc.9
Published
![version](https://img.shields.io/npm/v/@gdo-bzh/button)
Downloads
13
Maintainers
Readme
button
Install
yarn add react @gdo-bzh/system @gdo-bzh/box @xstyled/system @xstyled/styled-components reakit polished styled-components
Usage
import React from 'react'
import { Button } from '@gdo-bzh/button'
import { Icon } from '@gdo-bzh/icon'
import { FaGetPocket } from 'react-icons/fa'
const ButtonExample = () => (
<Button variant="contained" color="primary">
simple button
</Button>
)
const FabExample = () => (
<Fab color="secondary" size="tiny">
<Icon Component={FaGetPocket} />
</Fab>
)
License
MIT © gdo-bzh