@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.
27 lines (23 loc) • 514 B
TypeScript
/**
*/
import * as React from 'react';
declare type Option = {
value: string;
label: string;
};
interface RadioGroupFieldProps {
label?: string;
name: string;
component: string;
options: (Option | string)[];
direction?: 'horizontal' | 'vertical';
}
export interface RadioGroupProps {
name: string;
input: any;
field: RadioGroupFieldProps;
disabled?: boolean;
options?: (Option | string)[];
}
export declare const RadioGroup: React.FC<RadioGroupProps>;
export {};