ActionFormfunction
import { ActionForm } from '@mortar-kit/core'
function ActionForm(props: ActionFormProps): ElementA form that posts to its brick's action. Use it in the component of a
brick that declares one. It's a plain <form method="post">, so it works
without JavaScript; the router (or whatever the app's BrickActions
uses) can take over the submit when the page has scripts, and on an
island BrickActions.submit sends it in the background.
Parameters
props: ActionFormProps
Returns
Element