@tinacms/toolkit
Version:
Tina is a lightweight but powerful toolkit for creating a site editing ui with javascript components. Tina surfaces superpowers for dev’s to create, expand on and customize a simple yet intuitive ui for editing content.
28 lines (24 loc) • 579 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 {};