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
gifImagesType | Default |
|---|---|
Array of IGif | Empty Array |
onGifSearchInputChange
onGifSearchInputChangeType |
|---|
Function of type: (gifSearchInput, { debounce }) => void |
isLoading
isLoadingType | Default |
|---|---|
boolean | false |
loadNextGifImages
loadNextGifImagesType |
|---|
Function of type: |
Updated about 2 months ago
