import { ComponentProps, RefObject } from "react"; import { type ThemeColor } from "../../../types"; import clsx from "clsx"; import { ButtonProps, buttonVariants } from "../../button"; export interface CheckboxProps extends ComponentProps<"input"> { indeterminate?: boolean; disabled?: boolean; color?: ThemeColor; shape?: "square" | "circle"; ref?: RefObject; } export function Checkbox({ color = "yellow", shape = "square", indeterminate, disabled = false, className, children, ref, ...rest }: CheckboxProps) { return ( ); } interface CheckboxButtonProps extends Omit, "size"> { disabled?: boolean; color?: ButtonProps["color"]; variant?: ButtonProps["variant"]; size?: ButtonProps["size"]; width?: ButtonProps["width"]; icon?: boolean; showInput?: boolean; ref?: RefObject; } export function CheckboxButton({ color = "yellow", disabled = false, width = "fit", size, icon, showInput, variant, className, children, ref, ...rest }: CheckboxButtonProps) { return ( ); }