"use client"; import { RenderComponentWithSnippet } from "@/app/components/render"; import { useState } from "react"; import { Select } from "@calcom/ui/components/form"; const options = [ { value: "chocolate", label: "Chocolate" }, { value: "strawberry", label: "Strawberry" }, { value: "vanilla", label: "Vanilla" }, { value: "mint", label: "Mint" }, { value: "coffee", label: "Coffee" }, ]; export const MultiExample: React.FC = () => { const [multiValue, setMultiValue] = useState<{ value: string; label: string }[]>([]); return (
setMultiValue(newValue as { value: string; label: string }[])} isMulti isClearable placeholder="Choose multiple flavors... (small)" size="sm" />
); };