Submissioninterface
import { Submission } from '@mortar-kit/core'
interface Submission<R>A form post to a brick's action, as its component sees it.
Properties
pending: booleanTrue while the post is in flight (only with JavaScript; a plain post reloads the page).
result?: RWhat the action returned.
error?: unknownWhat the action threw, if it threw (in production, a generic error).