IslandActionsOptionsinterface
import { IslandActionsOptions } from '@mortar-kit/core'
interface IslandActionsOptionsWhat islandActions needs from the app.
Properties
action: (ref: EntryRef) => string | SerializableAttributeValueThe forms'
actionattribute, as on the server (brickActions.action), for a post before the island hydrates.run: (ref: EntryRef, form: FormData) => Promise<unknown>Runs an entry's action on the server: the app's server function that calls
Content.runAction.