Custom-React-Buttons
Custom animated buttons made with React.js
Usage
This is a React component for use in React apps
The only dependency is React
Color Schemes
There are 8 built-in color schemes:
- glass
- white
- default
- blue
- green
- yellow
- orange
- red
these are used by passing the color
prop like this:
<Btn => ... </Btn>
Custom Color Schemes
You can create your own color schemes by passing an object to the color
prop:
<Btn => ... </Btn>
Overriding Defaults
You may override anything you want by using an inline style prop as an object:
<Btn=>
Optional Props
caps
is a boolean, add this to uppercase all text:
<Btn > this will be all uppercase </Btn>