@sqlrooms/deck / createDeckMapBlockDocumentType
Function: createDeckMapBlockDocumentType()
createDeckMapBlockDocumentType<
TState>(options):BlockDocumentStatefulBlockType
Builds the shared TipTap/UI registration metadata for a Deck map stateful block. Hosts still own renderer maps, delete handlers, and product labels.
Type Parameters
| Type Parameter |
|---|
TState extends DeckMapsSliceState & DuckDbSliceState |
Parameters
| Parameter | Type |
|---|---|
options | DeckMapBlockDocumentRegistrationOptions<TState> & object |
Returns
BlockDocumentStatefulBlockType