File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff 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` ;
141142const IndeterminateIcon = styled . span . attrs ( ( ) => ( {
You can’t perform that action at this time.
0 commit comments