Skip to content

@sqlrooms/documents / createBlockDocumentCommands

Function: createBlockDocumentCommands()

createBlockDocumentCommands<TRoomState>(__namedParameters?): RoomCommand<TRoomState>[]

Type Parameters

Type ParameterDefault type
TRoomState extends BlockDocumentCommandStateBlockDocumentCommandState

Parameters

ParameterType
__namedParametersCreateBlockDocumentCommandsOptions<TRoomState>

Returns

RoomCommand<TRoomState>[]