@iddan/react-giphy
1.0.0-beta.4 • Public • Published
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"
)
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads