import { Key } from "react"; import { FocusableProps, HelpTextProps, InputBase, LabelableProps, TextInputBase, Validation, CollectionStateBase, MultipleSelection, } from "@react-types/shared"; import { AriaProps } from "../../../types"; import { FieldProps } from "../Field"; export interface AriaMultiSelectProps extends CollectionStateBase, Omit, Validation, HelpTextProps, LabelableProps, TextInputBase, Omit, FocusableProps { /** Sets the open state of the menu. */ isOpen?: boolean; /** Sets the default open state of the menu. */ defaultOpen?: boolean; /** Method that is called when the open state of the menu changes. */ onOpenChange?: (isOpen: boolean) => void; /** * The name of the input, used when submitting an HTML form. */ name?: string; } export interface MultiSelectFieldProps extends Omit>, "children">, Omit { children: React.ReactNode; }