Skip to content

Commit 5fd7aff

Browse files
(Button): pass alt prop only as title
1 parent bf49d8d commit 5fd7aff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export const Button: FC<ButtonProps> = (props) => {
159159
ref={buttonRef}
160160
className={btnClassNames}
161161
type={htmlType}
162-
title={isIconOnly || alt ? alt ?? icon : undefined}
162+
title={alt}
163163
tabIndex={tabIndex ?? -1}
164164
{...rprops}
165165
onClick={onClick}

0 commit comments

Comments
 (0)