diff --git a/app/_components/checkbox.tsx b/app/_components/checkbox.tsx index cdde5a04..479f8487 100644 --- a/app/_components/checkbox.tsx +++ b/app/_components/checkbox.tsx @@ -1,23 +1,37 @@ -import Tip from '@/_components/tip'; import CheckIcon from '@heroicons/react/24/outline/CheckIcon'; import { forwardRef, InputHTMLAttributes, ReactNode, Ref } from 'react'; import { twMerge } from 'tailwind-merge'; interface CheckboxProps extends Omit, 'type'> { - label?: string; - tooltip?: ReactNode; + inputClassName?: string; + label?: ReactNode; + labelInside?: boolean; + right?: ReactNode; } const Checkbox = forwardRef( ( - { className, label, name, tooltip, ...rest }: CheckboxProps, + { + className, + inputClassName, + label, + labelInside, + name, + right, + ...rest + }: CheckboxProps, ref: Ref, ) => (