Skip to content

createIncludeDirectiveDescriptor

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/packages/editor/src/directive-editors/IncludeDirectiveDescriptor.tsx

Factory for the ::include directive descriptor. Register in BOTH the solo and collaborative editors.

Signature

ts
function createIncludeDirectiveDescriptor(options: IncludeDirectiveOptions): DirectiveDescriptor<LeafDirective>

Parameters

NameType
optionsIncludeDirectiveOptions

Returns: DirectiveDescriptor<LeafDirective>

Was this page helpful?

Download as PDF