Skip to content

hamidreza-nateghi/mui-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

The Material-UI Button with more color options

Resources

Stars

Watchers

Forks

Packages

No packages published