import { HStack, Button } from "@chakra-ui/react"; import React from "react"; import DemoStickers from "../stickers/DemoStickers"; interface StickerSelectorProps { stickerSet: "Demo"; currSticker: StickerVal; selectedSticker: StickerVal; updateSelectedSticker: React.Dispatch>; initialSticker: React.MutableRefObject; } /** * Handles displaying a list of dynamic stickers to be selected. * @param {string} stickerSet The name of the stickers that should be displayed. * @param {StickerVal} currSticker The current sticker for the date. * @param {StickerVal} selectedSticker The selected sticker for the current. date * @param {React.Dispatch>} updateSelectedSticker TThe react state function to update the selected sticker that will be added or updated. */ const StickerSelector = ({ stickerSet, currSticker, selectedSticker, updateSelectedSticker, initialSticker }: StickerSelectorProps): JSX.Element => { const stickers = { Demo: ( ) }; return stickers[stickerSet]; }; export default StickerSelector;