aiow-gifpicker
v1.0.1
Published
Easy to implement gifpicker field with searchsuggestions using the Tenor api.
Downloads
6
Maintainers
Readme
React gifpicker component
Easy to implement React gifpicker field with searchsuggestions using the Tenor api.
Demo
https://gif-picker.surge.sh
Prerequisite
Request a free api key @ https://tenor.com/gifapi/documentation
Install
npm i gifpicker
or
yarn add gifpicker
Import
import GifPicker from 'gifpicker';
import 'gifpicker/dist/style.css';
Usage
add prop apikey
add prop function onSelect to capture the chosen gifUrl
<GifPicker apikey="XXXXXXXXX" onSelect={gifUrl => console.log(gifUrl)} />