useGifPicker

The purpose of useGifPicker hook is to manage and expose the gif picker resources.

Example Usage:
const { isLoading, gifImages, onGifSearchInputChange, loadNextGifImages } = useGifPicker();

Hook Return Value

gifImages

Type

Default

Array of IGif

Empty Array

onGifSearchInputChange

Type

Function of type: (gifSearchInput, { debounce }) => void

isLoading

Type

Default

boolean

false

loadNextGifImages

Type

Function of type: () => void