element-plus
Version:
A Component Library for Vue 3
21 lines (20 loc) • 734 B
TypeScript
export declare const ariaProps: {
ariaLabel: StringConstructor;
ariaOrientation: {
readonly type: import("vue").PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
ariaControls: StringConstructor;
};
export declare const useAriaProps: <T extends "ariaLabel" | "ariaOrientation" | "ariaControls">(arias: T[]) => Pick<{
ariaLabel: StringConstructor;
ariaOrientation: {
readonly type: import("vue").PropType<string>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
ariaControls: StringConstructor;
}, T>;