useStickerPicker
The purpose of the useStickerPicker
is to manage and track the selected sticker pack. It exposes the selected stickerPackId value and appropriate setter function.
Example Usage:
const { selectedStickerPackId, setSelectedStickerPackId } = useStickerPicker();
Hook Return Value
selectedStickerPackId
selectedStickerPackId
Type | Default |
---|---|
String | Empty String |
setSelectedStickerPackId
setSelectedStickerPackId
Type |
---|
(newSelectedStickerPickerId) => void |
Updated about 1 year ago
What’s Next