UNPKG

@curveball/browser

Version:

Automatic API browser generator. A middleware that turns your JSON responses into HTML if accessed by a browser.

15 lines (14 loc) 401 B
import * as React from 'react'; import { Action } from 'ketting'; type FormProps = { csrfToken: string | null; action: Action; }; /** * This component renders actions that can be expressed as a single button. * * This is only the case for actions that have no fields or only fields with * type=hidden */ export declare function ButtonForm(props: FormProps): React.JSX.Element; export {};