1.2.12 • Published 4 years ago
react-clap-button v1.2.12
A Medium like clap button. Based on Ohans Emmanuel CodePen, icon by Luis Durazo.
Install
$ npm install react-clap-button --save
Usage
import React from 'react';
import ClapButton from 'react-clap-button';
export default () => {
const onCountChange = ({ count, countTotal }) => {
};
// All Props are Optional
return (
<ClapButton
count={0}
countTotal={0}
maxCount={50}
isClicked={false}
onCountChange={onCountChange}
iconComponent={props => <CustomIcon {...props} size={38} /> }
/>
);
}
Related
- vue-clap-button – A Medium like clap button written on Vue.js
License
react-clap-button © Kiko Beats, released under the MIT License. Authored and maintained by Kiko Beats with help from contributors.
kikobeats.com · GitHub @Kiko Beats · Twitter @Kikobeats
1.2.12
4 years ago
1.2.11
4 years ago
1.2.10
4 years ago
1.2.9
4 years ago
1.2.8
4 years ago
1.2.7
4 years ago
1.2.6
4 years ago
1.2.5
4 years ago
1.2.0
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago