UNPKG

@activecollab/components

Version:

ActiveCollab Components

26 lines 957 B
import { FC, FocusEvent, PropsWithChildren } from "react"; interface IMenuSelector { /** Initial value on mount */ defaultValue?: string; /** Input placeholder */ placeholder?: string; /** Execute callback when input has been changed */ onChange?: (value: string) => void; /** Execute callback when click on back button */ onBack?: () => void; /** Execute callback when click on edit button */ onEdit?: () => void; /** Auto focus on mount */ autoFocus?: boolean; /** Applies passed classes */ className?: string; /** Input focus event callback */ onFocus?: (e: FocusEvent<HTMLInputElement>) => void; /** Input focus event callback */ onBlur?: (e: FocusEvent<HTMLInputElement>) => void; /** Set auto complete option on/off */ autoComplete?: boolean; } export declare const MenuSelector: FC<PropsWithChildren<IMenuSelector>>; export {}; //# sourceMappingURL=MenuSelector.d.ts.map