Skip to content

BlockSuite API Documentation / @blocksuite/blocks / widgetPresets

Variable: widgetPresets

const widgetPresets: object

Type declaration

createTools()

createTools: (toolsMap) => UniComponent<DataViewWidgetProps, object> = createWidgetTools

Parameters

toolsMap: Record<string, DataViewWidget[]>

Returns

UniComponent<DataViewWidgetProps, object>

filterBar

filterBar: UniComponent<DataViewWidgetProps, object> = widgetFilterBar

tools

tools: object = toolsWidgetPresets

tools.expand

expand: UniComponent<unknown, object>

tools.filter

filter: UniComponent<unknown, object>

search: UniComponent<unknown, object>

tools.tableAddRow

tableAddRow: UniComponent<unknown, object>

tools.viewOptions

viewOptions: UniComponent<unknown, object>

viewBar

viewBar: UniComponent<unknown, object> = widgetViewsBar

Source

packages/blocks/src/database-block/data-view/widget/index.ts:5