import Select, { SingleValue, ControlProps, GroupBase, OptionProps, MenuListProps, } from "react-select" import { useId } from "react" export default function MySelect({ options, placeholder, onChange, isSearchable, selectedOption, }: { options: { value: string; label: string }[] placeholder: string isSearchable?: boolean onChange: (value: SingleValue<{ value: string; label: string }>) => void selectedOption?: { value: string; label: string } }) { return (