import React from "react"; import { Props } from "react-select"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Icon, Avatar } from "@calcom/ui"; import Select from "@components/ui/form/Select"; type CheckedSelectOption = { avatar: string; label: string; value: string; disabled?: boolean; }; export const CheckedSelect = ({ options = [], value = [], ...props }: Omit, "value" | "onChange"> & { value?: readonly CheckedSelectOption[]; onChange: (value: readonly CheckedSelectOption[]) => void; }) => { const { t } = useLocale(); return ( <>