aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms/fields/checkbox/checkbox.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/atoms/forms/fields/checkbox/checkbox.tsx')
-rw-r--r--src/components/atoms/forms/fields/checkbox/checkbox.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/atoms/forms/fields/checkbox/checkbox.tsx b/src/components/atoms/forms/fields/checkbox/checkbox.tsx
index 2ac3809..9c175b7 100644
--- a/src/components/atoms/forms/fields/checkbox/checkbox.tsx
+++ b/src/components/atoms/forms/fields/checkbox/checkbox.tsx
@@ -1,5 +1,5 @@
-import { FC } from 'react';
-import { BooleanField, BooleanFieldProps } from '../boolean-field';
+import type { FC } from 'react';
+import { BooleanField, type BooleanFieldProps } from '../boolean-field';
export type CheckboxProps = Omit<BooleanFieldProps, 'type'>;
@@ -9,5 +9,6 @@ export type CheckboxProps = Omit<BooleanFieldProps, 'type'>;
* Render a checkbox input type.
*/
export const Checkbox: FC<CheckboxProps> = (props) => (
+ // eslint-disable-next-line react/jsx-no-literals -- Type allowed
<BooleanField {...props} type="checkbox" />
);