Variable getSelectAriaProps
getSelectAriaProps: (
label: string,
value: string,
required?: boolean,
) => {
"aria-describedby"?: string;
"aria-label": string;
"aria-required"?: boolean;
}
Type Declaration
- (
label: string,
value: string,
required?: boolean,
): {
"aria-describedby"?: string;
"aria-label": string;
"aria-required"?: boolean;
} Parameters
- label: string
- value: string
- required: boolean = false
Returns { "aria-describedby"?: string; "aria-label": string; "aria-required"?: boolean }
ARIA props object
Generate ARIA props for a select/dropdown component