animated-buttons
v0.3.7
Published
This is a reusable buttons component for React that supports different types of buttons. You can easily switch between button types by changing the classname.
Downloads
2
Readme
Buttons Component
This is a reusable buttons component for React that supports different types of buttons. You can easily switch between button types by changing the classname.
Installation
You can install this package using npm:
npm install animated-buttons
Components
There is 5 types of Buttons Components available
<Button/>
<BlobButton/>
<FlushButton/>
<HoverButton/>
<DeleteButton/>
Demo
Usage
To use this component in your React app, simply import it and render it:
import React from 'react';
import { Button } from 'animated-buttons';
function App() {
return (
<div>
<Button/>
</div>
);
}
Available Props
<Button
className={}
style={}
type={}
value={}
isDisabled={}
onPress={}
/>
Props | Datatype | ---|---| className | String | style | string | type | string | value | string | isDisabled | boolean | onPress | function |
Contributing
Contributions are always welcome! If you have an idea for a new feature or find a bug, please open an issue or submit a pull request.
License
This package is licensed under the MIT License.
Credits
This package was inspired by many other open source React components. Thank you to all the developers who have contributed to the React community!