@iddan/react-giphy

React components for GIPHY

Stats

StarsIssuesVersionUpdatedCreatedSize
@iddan/react-giphy
101.0.0-beta.43 years ago4 years agoMinified + gzip package size for @iddan/react-giphy in KB

Readme

Giphy Logo React Logo

React GIPHY

React components for GIPHY

npm install @iddan/react-giphy
# or yarn add @iddan/react-giphy

Features

  • Typed
  • Components match the API endpoints

Usage

import * as Giphy from '@iddan/react-giphy';

Components

<Giphy.Translate />

props
  • apiKey - string (required)
  • searchTerm - number (required)
  • size - "fixed_height" | "fixed_height_still" | "fixed_height_downsampled" | "fixed_width" | "fixed_width_still" | "fixed_width_downsampled" | "fixed_height_small" | "fixed_height_small_still" | "fixed_width_small" | "fixed_width_small_still" | "downsized_still" | "downsized_large" | "downsized_medium" | "downsized_small" (defaults to "fixed_height")

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.