Skip to content

@morph-mapper/source


@morph-mapper/source / StructureBlockConfig

Type Alias: StructureBlockConfig<K>

StructureBlockConfig<K> = object

Defined in: types/structure.ts:4

Type Parameters

K

K

Properties

category

category: keyof typeof STRUCTURE_CATEGORIES | "internal"

Defined in: types/structure.ts:7


description

description: string

Defined in: types/structure.ts:6


icon

icon: IconType

Defined in: types/structure.ts:9


render

render: (key) => [string[], any]

Defined in: types/structure.ts:15

Parameters

key

string

Returns

[string[], any]


title

title: string

Defined in: types/structure.ts:5


type

type: K

Defined in: types/structure.ts:8