diff --git a/resources/scripts/components/elements/inputs/Checkbox.tsx b/resources/scripts/components/elements/inputs/Checkbox.tsx index 19015c0ab..82233b15f 100644 --- a/resources/scripts/components/elements/inputs/Checkbox.tsx +++ b/resources/scripts/components/elements/inputs/Checkbox.tsx @@ -2,6 +2,13 @@ import React, { forwardRef } from 'react'; import classNames from 'classnames'; import styles from './styles.module.css'; -export default forwardRef>(({ className, ...props }, ref) => ( - +type Props = Omit, 'type'>; + +export default forwardRef(({ className, ...props }, ref) => ( + )); diff --git a/resources/scripts/components/elements/inputs/styles.module.css b/resources/scripts/components/elements/inputs/styles.module.css index a58454925..3b2e521c8 100644 --- a/resources/scripts/components/elements/inputs/styles.module.css +++ b/resources/scripts/components/elements/inputs/styles.module.css @@ -1,4 +1,4 @@ -.checkbox { +.checkbox_input { @apply w-4 h-4 rounded-sm border-neutral-500 bg-neutral-600 text-primary-500; &:focus, &:active {