@hhgtech/hhg-components
Version:
Hello Health Group common components
20 lines (19 loc) • 651 B
TypeScript
import React from 'react';
import { SiteType } from "../../../interfaces/types";
export type Props = {
label: string;
name: string;
value: string;
checked: boolean;
className?: string;
isDisabled?: boolean;
onChange?: (value: string, checked: boolean) => void;
isRectangle?: boolean;
inputDataTestId?: string;
siteType?: SiteType;
};
/**
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
*/
declare const Checkbox: ({ label, name, checked, className, isDisabled, onChange, value, isRectangle, inputDataTestId, siteType, }: Props) => React.JSX.Element;
export { Checkbox };