@viniengelage/materialui-button
v1.0.2
Published
A button component from Vinicios Engelage's MaterialUI
Downloads
2
Readme
viniengelage-materialui-button
A button component crafted with styled-compontents and react-spinner-kit. This a module of Vinicios Engelage's MaterialUI.
Install
npm install --save @viniengelage/materialui-button
or
yarn add @viniengelage/materialui-button
Usage
import React from 'react';
import Button from 'components/Button'
const App = () => <Button>Text</Button>
export default Button;
Theme
You can add your own theme, using the function addButtonTheme
import React from 'react';
import theme from './myTheme';
import Button, { addButtonTheme } from 'components/Button'
addButtonTheme(theme)
const App = () => <Button>Text</Button>
export default Button;
You can use this function in your App.js
License
MIT © viniengelage