Skip to content

Commit 608afe0

Browse files
committed
chore: fix type
1 parent 604874d commit 608afe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/buttons/src/styled/StyledButton.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ const sizeStyles = (props: IButtonProps & ThemeProps<DefaultTheme>) => {
349349
* 3. Shifting :focus-visible from LVHFA order to preserve `text-decoration` on hover
350350
*/
351351
export const StyledButton = styled.button.attrs<IButtonProps>(props => ({
352-
'data-garden-id': props['data-garden-id'] || COMPONENT_ID,
352+
'data-garden-id': (props as any)['data-garden-id'] || COMPONENT_ID,
353353
'data-garden-version': PACKAGE_VERSION,
354354
type: props.type || 'button'
355355
}))<IButtonProps>`

0 commit comments

Comments
 (0)