JSPM

aiow-gifpicker

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q56899F
  • License ISC

Easy to implement gifpicker field with searchsuggestions using the Tenor api.

Package Exports

  • aiow-gifpicker
  • aiow-gifpicker/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (aiow-gifpicker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React gifpicker component

npm npm codecov

Easy to implement React gifpicker field with searchsuggestions using the Tenor api.

alt text

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

  1. add prop apikey

  2. add prop function onSelect to capture the chosen gifUrl

    <GifPicker apikey="XXXXXXXXX" onSelect={gifUrl => console.log(gifUrl)} />