@gdo-bzh/button

yarn add react @gdo-bzh/system @gdo-bzh/box @xstyled/system @xstyled/styled-components reakit polished styled-components

Usage no npm install needed!

<script type="module">
  import gdoBzhButton from 'https://cdn.skypack.dev/@gdo-bzh/button';
</script>

README

version

button

NPM JavaScript Style Guide

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