UNPKG

tinacms

Version:

[![GitHub license](https://img.shields.io/github/license/tinacms/tinacms?color=blue)](https://github.com/tinacms/tinacms/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/tinacms.svg?style=flat)](https://www.npmjs.com/package/tinacms) [![Bui

25 lines (23 loc) 618 B
/** */ import React from 'react'; interface ModalBuilderProps { title: string; message?: string; error?: string; actions: ButtonProps[]; close(): void; children?: React.ReactNode; } export declare function ModalBuilder(modalProps: ModalBuilderProps): React.JSX.Element; export declare const ErrorLabel: ({ style, ...props }: { [x: string]: any; style?: {}; }) => React.JSX.Element; interface ButtonProps { name: string; action(): Promise<void>; primary: boolean; } export declare const AsyncButton: ({ name, primary, action }: ButtonProps) => React.JSX.Element; export {};