import clsx from "clsx"; import { forwardRef } from "react"; import { FormField, FormFieldProps } from "../FormField"; import { UnstyledInput } from "../UnstyledInput"; import styles from "./styles.module.scss"; export type CheckboxSize = "sm" | "md" | "lg"; type NativeProps = Omit; export type CheckboxProps = { size?: CheckboxSize; label: string; } & NativeProps & Pick, "description" | "error">; export const Checkbox = forwardRef( ({ label, description, error, size = "md", id, ...inputProps }, ref) => { return (
); } ); Checkbox.displayName = "Checkbox";