Skip to content

damithg-dev/react-native-giphy-modal

Repository files navigation

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