We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 604874d commit 608afe0Copy full SHA for 608afe0
packages/buttons/src/styled/StyledButton.ts
@@ -349,7 +349,7 @@ const sizeStyles = (props: IButtonProps & ThemeProps<DefaultTheme>) => {
349
* 3. Shifting :focus-visible from LVHFA order to preserve `text-decoration` on hover
350
*/
351
export const StyledButton = styled.button.attrs<IButtonProps>(props => ({
352
- 'data-garden-id': props['data-garden-id'] || COMPONENT_ID,
+ 'data-garden-id': (props as any)['data-garden-id'] || COMPONENT_ID,
353
'data-garden-version': PACKAGE_VERSION,
354
type: props.type || 'button'
355
}))<IButtonProps>`
0 commit comments