@hhgtech/hhg-components
Version:
Hello Health Group common components
18 lines (17 loc) • 542 B
TypeScript
import React from 'react';
export type Props = {
type: 'vertical' | 'horizontal';
options: Array<{
label: string;
value: string;
disabled?: boolean;
}>;
values?: Array<string>;
onChanges?: (v: Array<string>) => void;
name: string;
className?: string;
isDisabled?: boolean;
isRectangle?: boolean;
};
declare const CheckboxGroup: ({ name, values, onChanges, options, className, type, isDisabled, isRectangle, }: Props) => React.JSX.Element;
export { CheckboxGroup };