react-simple-easy-button
v0.2.1
Published
Simple react component to provide beautiful button UI
Downloads
1
Readme
react-simple-easy-button
A simple react button component which can be use to add anywhere in react application without investing on styling.
Installation and usage
To use this module, install it:
npm i react-simple-easy-button
Then use it in your app:
import React from 'react';
import SimpleButton from "react-simple-easy-button";
export default function App() {
return (
<SimpleButton>Your button content</SimpleButton>
);
}
Props
Props | Description | Value | Default value | Is required --- | --- | --- | --- | --- type | type of button | submit or button | submit | false color | color of the button | primary,secondary,success,warning,danger | primary | false outlined | make outline button | true or false | false | false flat | add button shadow | true or false | true | false