import { ComponentProps, PropsWithChildren } from 'react'; import { BaseProps } from '../types.js'; import '@emotion/react'; type CheckboxProps = Pick & Omit, "value" | "children" | "type"> & { isIndeterminate?: boolean; onChangeChecked?: ((value?: boolean) => void) | ((value: boolean) => void); value?: string; }; type CheckboxIconProps = Pick; type CheckboxLabelProps = { /** * @default "left" */ iconPosition?: "left" | "right"; /** * @deprecated Use `label` instead */ text?: string; label?: string; } & CheckboxProps & PropsWithChildren; type CheckboxSetProps = PropsWithChildren>; export { CheckboxIconProps, CheckboxLabelProps, CheckboxProps, CheckboxSetProps };