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
gifImages
Type | Default |
---|---|
Array of IGif | Empty Array |
onGifSearchInputChange
onGifSearchInputChange
Type |
---|
Function of type: (gifSearchInput, { debounce }) => void |
isLoading
isLoading
Type | Default |
---|---|
boolean | false |
loadNextGifImages
loadNextGifImages
Type |
---|
Function of type: () => void |
Updated 5 months ago