@curveball/browser
Version:
Automatic API browser generator. A middleware that turns your JSON responses into HTML if accessed by a browser.
13 lines (12 loc) • 346 B
TypeScript
import * as React from 'react';
import { Action, Field } from 'ketting';
type FormProps = {
csrfToken: string | null;
action: Action;
};
type FieldProps = {
field: Field;
};
export declare function ActionForm(props: FormProps): React.JSX.Element;
export declare function ActionField(props: FieldProps): React.ReactElement;
export {};