diff --git a/src/molecules/Buttons/Btn.tsx b/src/molecules/Buttons/Btn.tsx index e7cbc2d1f..c64f0e317 100644 --- a/src/molecules/Buttons/Btn.tsx +++ b/src/molecules/Buttons/Btn.tsx @@ -11,7 +11,6 @@ interface colorScheme { export interface propsBaseBtns { ariaLabel?: string - ariaPressed?: boolean children?: React.ReactNode disabled?: boolean isFullWidth?: boolean @@ -24,7 +23,6 @@ export interface propsBaseBtns { type?: 'button' | 'submit' | 'reset' tabIndex?: number id?: string - role?: string } interface props extends propsBaseBtns { bg?: colorScheme @@ -46,7 +44,6 @@ interface props extends propsBaseBtns { */ export function Btn({ ariaLabel, - ariaPressed, bg, borderColorActive = [vars('colors-main-deepSkyBlue'), vars('colors-neutral-white')], children, @@ -64,7 +61,7 @@ export function Btn({ size = 'regular', touchDark = false, type = 'button', - tabIndex, + tabIndex = 0, }: props): JSX.Element { let showChildren = children ?? null if (!children && !rightIcon && !leftIcon) { @@ -90,8 +87,8 @@ export function Btn({