mui-button
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

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.

Author

Hamidreza Nateghi

Package Sidebar

Install

npm i mui-button

Weekly Downloads

68

Version

1.0.8

License

none

Unpacked Size

12.8 kB

Total Files

6

Last publish

Collaborators

  • hamidreza.nateghi