UNPKG

tinacms

Version:

> The Fastest Way to Edit Next.js Content

24 lines (23 loc) 595 B
import * as React from 'react'; declare type Option = { value: string; label?: string; icon?: React.ComponentType<any>; }; interface ButtonToggleFieldProps { label?: string; name: string; component: string; options: (Option | string)[]; direction?: 'horizontal' | 'vertical'; } export interface ButtonToggleProps { name: string; input: any; field: ButtonToggleFieldProps; disabled?: boolean; options?: (Option | string)[]; direction?: 'horizontal' | 'vertical'; } export declare const ButtonToggle: React.FC<ButtonToggleProps>; export {};