React components for GIPHY
npm install @iddan/react-giphy
# or yarn add @iddan/react-giphy
- Typed
- Components match the API endpoints
import * as Giphy from '@iddan/react-giphy';
- 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"
)