UNPKG

634 BTypeScriptView Raw
1export interface InstructionsContext {
2 isSearchable?: boolean;
3 isMulti?: boolean;
4 label?: string;
5}
6export interface ValueEventContext {
7 value: string;
8}
9
10export function instructionsAriaMessage(event: any, context?: InstructionsContext): string;
11
12export function valueEventAriaMessage(event: any, context: ValueEventContext): string;
13
14export function valueFocusAriaMessage({ focusedValue, getOptionLabel, selectValue }: any): string;
15export function optionFocusAriaMessage({ focusedOption, getOptionLabel, options }: any): string;
16export function resultsAriaMessage({ inputValue, screenReaderMessage }: any): string;