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 12 months ago
What’s Next