import React, { ReactNode } from 'react'; import { BaseSkeletonProps } from '../Skeleton'; export interface BaseProps extends React.HTMLAttributes { name?: string; label: string | ReactNode; checked: boolean; value: string; touched?: boolean; error?: string; help?: string; readOnly?: boolean; disabled?: boolean; condensed?: boolean; asGroup?: boolean; a11yLabel?: string; } interface SkeletonProps extends BaseSkeletonProps, BaseProps { skeleton?: boolean; } export type Props = BaseProps | SkeletonProps; declare const Checkbox: (props: Props) => JSX.Element; export default Checkbox;