react-native-giphy-modal

1.0.4 • Public • Published

React Native Giphy Modal

Giphy modal to select gif made using Giphy Api.





Features

Installation


$ npm install react-native-giphy-modal

Dependencies

This library needs these dependencies to be installed in your project before you can use it:

$ npm install yarn add react-native-reanimated react-native-gesture-handler

INFO

React Native Gesture Handler needs extra steps to finalize its installation, please follow their installation instructions.

React Native Reanimated v1 needs extra steps to finalize its installation, please follow their installation instructions.

To work on Android you need to follow react native instruction.


Usage


import GiphyModal from 'react-native-giphy-modal'

<GiphyModal
  ref={giphyModalRef}
  giphyApiKey={''}
  onSelectGif={(gifDetail) => {}}
/>

Props


giphyApiKey(required)

Api key of Giphy you can get an one https://developers.giphy.com.

onSelectGif

When you onPress on gift this method will get fired.


Coming soon Features


  • Source code Javascript to TypeScript
  • Custom Layout
  • Dark Mode theming

Built With ❤️


Author

Package Sidebar

Install

npm i react-native-giphy-modal

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

15.6 kB

Total Files

17

Last publish

Collaborators

  • damithg