@intersect.mbo/govtool-delegation-pillar
Version:
Delegation Pillar of the GovTool project
10 lines (9 loc) • 467 B
TypeScript
import type { ChangeEvent } from 'react';
import type { CheckboxProps as MUICheckboxProps } from '@mui/material';
export type CheckboxProps = Omit<MUICheckboxProps, 'onChange' | 'value'> & {
dataTestId?: string;
errorMessage?: string;
onChange: (newValue: ChangeEvent<Element> | boolean) => void;
value: boolean;
};
export declare const Checkbox: ({ dataTestId, errorMessage, sx, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;