Skip to content

Commit 0471ccb

Browse files
committed
fix(checkbox): add missing semicolon in styles
1 parent 2c6e141 commit 0471ccb

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/Checkbox/Checkbox.tsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type CheckboxProps = {
2222
indeterminate?: boolean;
2323
label?: number | string;
2424
name?: string;
25-
onChange?: React.InputHTMLAttributes<HTMLInputElement>['onChange'];
25+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
2626
style?: React.CSSProperties;
2727
value?: number | string;
2828
variant?: 'default' | 'flat' | 'menu';
@@ -129,13 +129,14 @@ const CheckmarkIcon = styled.span.attrs(() => ({
129129
? theme.checkmarkDisabled
130130
: theme.checkmark};
131131
`}
132-
${StyledMenuListItem}:hover & {
133-
${({ $disabled, theme, variant }) =>
134-
!$disabled &&
135-
variant === 'menu' &&
136-
css`
137-
border-color: ${theme.materialTextInvert};
138-
`};
132+
${StyledMenuListItem}:hover & {
133+
${({ $disabled, theme, variant }) =>
134+
!$disabled &&
135+
variant === 'menu' &&
136+
css`
137+
border-color: ${theme.materialTextInvert};
138+
`};
139+
}
139140
}
140141
`;
141142
const IndeterminateIcon = styled.span.attrs(() => ({

0 commit comments

Comments
 (0)