Updated button component accessibility
This commit is contained in:
@@ -7,10 +7,16 @@ export type ButtonSize = "xs" | "sm" | "md" | "lg" | "xl";
|
||||
export type ButtonVariant = "standard" | "outline" | "ghost" | "outline-ghost" | "icon";
|
||||
|
||||
|
||||
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>{
|
||||
export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size" | "type"> {
|
||||
rounding?: ButtonRounding;
|
||||
shape?: ButtonShape;
|
||||
size?: ButtonSize;
|
||||
variant?: ButtonVariant;
|
||||
ref?: Ref<HTMLButtonElement>;
|
||||
|
||||
ariaLabel?: string;
|
||||
ariaDescribedBy?: string;
|
||||
ariaControls?: string;
|
||||
role?: string;
|
||||
tabIndex?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user