Skip to content

BlockSuite API Documentation / @blocksuite/affine-model / DividerBlockSchema

Variable: DividerBlockSchema

const DividerBlockSchema: object

Type declaration

model

model: object & object

Type declaration

flavour

flavour: "affine:divider"

props

props: PropsGetter<object>

Type declaration

children

children: never[] = []

role

role: "content" = 'content'

version

version: number = 1

transformer()?

optional transformer: () => BaseBlockTransformer<object>

Returns

BaseBlockTransformer<object>

version

version: number

Defined in

packages/affine/model/src/blocks/divider/divider-model.ts:3