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

TypeDefault
StringEmpty String

setSelectedStickerPackId

Type
(newSelectedStickerPickerId) => void

What’s Next