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

TypeDefault
Array of IGifEmpty Array

onGifSearchInputChange

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

isLoading

TypeDefault
booleanfalse

loadNextGifImages

Type
Function of type: () => void

What’s Next