1.0.8 • Published 3 years ago

mui-button v1.0.8

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

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

NameTypeDefaultDescription
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.

Author

Hamidreza Nateghi