@devopness/ui-react
Version:
Devopness Design System React Components - Painless essential DevOps to everyone
17 lines (16 loc) • 764 B
TypeScript
import { CheckboxProps } from '@mui/material/Checkbox';
type CheckBoxProps = {
/** Controls if the checkbox is checked or not */
isChecked?: boolean;
/** Controls if the checkbox has a stroke */
isStroke?: boolean;
/** Controls if the checkbox has an hasError */
hasError?: boolean | null;
/** Controls if the checkbox is controlled */
isControlled?: boolean;
/** Controls the size of the checkbox */
size?: 'small' | 'medium';
} & CheckboxProps;
declare const CheckBoxMemo: import('react').MemoExoticComponent<({ isChecked, isStroke, disabled, size, hasError, isControlled, ref, ...restProps }: CheckBoxProps) => import("react/jsx-runtime").JSX.Element>;
export { CheckBoxMemo as CheckBox };
export type { CheckBoxProps };