@masaischool/lotus
Version:
Masai UI component library designed to work seamlessly with Chakra UI
22 lines (21 loc) • 847 B
TypeScript
import React from 'react';
import { Props as CheckboxProps } from './Checkbox';
export interface Props {
options: CheckboxProps[];
commonSize?: 'regular' | 'large';
onChange: (values: string[]) => void;
selectedValues: string[];
disabled?: boolean;
gridTemplateComlumns?: string | {
base?: string;
md?: string;
lg?: string;
xl?: string;
};
columnGap?: string | string[];
rowGap?: string | string[];
extraReactElement?: React.ReactElement;
extraReactElementValueOnClick?: (value: string) => void;
}
export declare const CheckboxGroup: ({ options, commonSize, onChange, selectedValues, disabled, gridTemplateComlumns, rowGap, columnGap, extraReactElement, extraReactElementValueOnClick, ...props }: Props) => JSX.Element;
export default CheckboxGroup;