feat: add sheet block (#743)
Co-authored-by: Nicolas <nicolascamara29@gmail.com>
This commit is contained in:
parent
93b02a85e1
commit
76804269c4
14 changed files with 419 additions and 6 deletions
|
|
@ -30,8 +30,9 @@ import { textBlock } from '@/blocks/text';
|
|||
import { imageBlock } from '@/blocks/image';
|
||||
import { codeBlock } from '@/blocks/code';
|
||||
import equal from 'fast-deep-equal';
|
||||
import { sheetBlock } from '@/blocks/sheet';
|
||||
|
||||
export const blockDefinitions = [textBlock, codeBlock, imageBlock] as const;
|
||||
export const blockDefinitions = [textBlock, codeBlock, imageBlock, sheetBlock];
|
||||
export type BlockKind = (typeof blockDefinitions)[number]['kind'];
|
||||
|
||||
export interface UIBlock {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue