Skip to content

Latest commit

 

History

History
98 lines (60 loc) · 2.09 KB

README.md

File metadata and controls

98 lines (60 loc) · 2.09 KB

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