0.2.0 • Published 2 years ago
React_mu_button
npm install react_mu_button
Usage
Here is a quick example to get you started, it's all you need:
import React from 'react';
import ReactDOM from 'react-dom';
import Button from 'react_mu_button';
function App() {
return (
<Button variant="fill" color="primary">
Primary Button
</Button>
);
}
ReactDOM.render(<App />, document.querySelector('#app'));
Props Reference
varient : 'fill' | 'outlined'
<Button varient="fill">Varient Fill Button</Button>
Parameter | Type | Description |
---|
varient | string | By Default : 'fill' |
Color : 'primary' | 'success' | 'danger'
<Button color="primary">Success Button</Button>
Parameter | Type | Description |
---|
color | string | By Default : 'primary' |
disabled : true | false
<Button disabled={true}>disabled Button</Button>
Parameter | Type | Description |
---|
disabled | boolean | By Default : false |