BrickPropsinterface
import { BrickProps } from '@mortar-kit/core'
interface BrickProps<D, L = undefined, R = undefined>Props every brick component receives.
Properties
data: DThe brick's data: the right shape, with defaults filled in (see
Brick.normalize).loaded: LWhat the brick's
loadreturned; undefined for a brick without one.submission?: Submission<R>The latest post of this entry's form (
<ActionForm>) to itsaction: pending, then what it returned or threw. Undefined until the form is sent, and for a brick without an action.