We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8e3a3e commit 7d35543Copy full SHA for 7d35543
libs/island-ui/core/src/lib/Button/Button.tsx
@@ -46,7 +46,7 @@ export const Button = forwardRef<
46
<Box
47
component={ReaButton}
48
as={as ? (as as string) : variant === 'text' ? 'span' : 'button'}
49
- role={role ? role : as ? undefined : 'button'}
+ role={role ? role : as ? 'undefined' : 'button'}
50
ref={ref}
51
value={value}
52
name={name}
0 commit comments