@sqlrooms/documents / BlockDocumentStatefulBlockCommandType
Type Alias: BlockDocumentStatefulBlockCommandType<TRoomState>
BlockDocumentStatefulBlockCommandType<
TRoomState> =object
Type Parameters
| Type Parameter |
|---|
TRoomState |
Properties
blockType
blockType:
string
label?
optionallabel?:string
description?
optionaldescription?:string
defaultTitle?
optionaldefaultTitle?:string
defaultHeight?
optionaldefaultHeight?:number
ensureState?
optionalensureState?: (context) =>void
Parameters
| Parameter | Type |
|---|---|
context | BlockDocumentStatefulBlockCommandContext<TRoomState> |
Returns
void
