schlechtenburg/packages/heading/lib/index.ts

14 lines
376 B
TypeScript
Raw Normal View History

2020-12-27 21:32:43 +00:00
import { defineAsyncComponent } from 'vue';
2022-09-05 19:46:55 +00:00
import { IBlockDefinition } from '@schlechtenburg/core';
2020-12-27 21:32:43 +00:00
import { getDefaultData } from './util';
2021-03-08 15:29:35 +00:00
export * from './util';
export const name = 'sb-heading';
2020-12-27 21:32:43 +00:00
export default {
2021-03-08 15:29:35 +00:00
name,
2020-12-27 21:32:43 +00:00
getDefaultData,
edit: defineAsyncComponent(() => import('./edit')),
2022-03-20 13:49:44 +00:00
view: defineAsyncComponent(() => import('./view')),
2022-09-05 19:46:55 +00:00
} as IBlockDefinition;