lijianan
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
components/checkbox/Checkbox.tsx
|
|
@ -151,7 +151,8 @@ const InternalCheckbox: React.ForwardRefRenderFunction<CheckboxRef, CheckboxProp |
|
|
|
); |
|
|
|
}; |
|
|
|
|
|
|
|
const Checkbox = React.forwardRef<unknown, CheckboxProps>(InternalCheckbox); |
|
|
|
const Checkbox = React.forwardRef<CheckboxRef, CheckboxProps>(InternalCheckbox); |
|
|
|
|
|
|
|
if (process.env.NODE_ENV !== 'production') { |
|
|
|
Checkbox.displayName = 'Checkbox'; |
|
|
|
} |
|
|
|