tinacms
Version:
[](https://github.com/tinacms/tinacms/blob/main/LICENSE) [](https://www.npmjs.com/package/tinacms) [![Bui
23 lines (22 loc) • 561 B
TypeScript
import * as React from 'react';
type Option = {
value: string;
label: string;
};
export interface CheckboxGroupFieldProps {
name: string;
label?: string;
component: string;
options: (Option | string)[];
direction?: 'horizontal' | 'vertical';
}
export interface CheckboxGroupProps {
name: string;
input: any;
field: CheckboxGroupFieldProps;
disabled?: boolean;
options?: (Option | string)[];
direction?: 'horizontal' | 'vertical';
}
export declare const CheckboxGroup: React.FC<CheckboxGroupProps>;
export {};