mui-button
v1.0.8
Published
The Material-UI Button with more color options
Downloads
463
Maintainers
Readme
The Material-UI Button with more color options
Description
The Material UI Button with more color options from theme palette
Live Demo
Take a look at Live Demo
Installation
npm install mui-button --save
Note:
You will need to have material-ui
installed, in order to use this component
npm install @material-ui/core
Usage Example
import React from "react";
import Button from "mui-button";
function Example() {
return (
<Button color="error" variant="outlined">
Submit
</Button>
);
}
Props
| Name | Type | Default | Description | | ----- | ------------------------------------------------------------------------------------------------ | --------- | ---------------------------------------------------------------------------------------------- | | color | 'inherit' | 'primary' | 'secondary' | 'error' | 'warning' | 'success' | 'info' | 'default | 'primary' | The color of the component. It supports those theme colors that make sense for this component. |
License
The MIT License.