tinacms
Version:
> The Fastest Way to Edit Next.js Content
23 lines (22 loc) • 569 B
TypeScript
import * as React from 'react';
declare 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 {};