UNPKG

@openhands/ui

Version:
8 lines (7 loc) 428 B
import { BaseProps, HTMLProps } from '../../shared/types'; export type CheckboxProps = Omit<HTMLProps<"input">, "checked" | "defaultChecked"> & { label: React.ReactNode; labelClassName?: string; checked: boolean; } & BaseProps; export declare const Checkbox: ({ className, label, labelClassName, id: propId, disabled, checked, onChange, testId, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;