File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
packages/notion-to-jsx/src/types Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ export interface NotionBlock {
12
12
| 'numbered_list_item'
13
13
| 'code'
14
14
| 'image'
15
- | 'bookmark' ;
15
+ | 'bookmark'
16
+ | 'table'
17
+ | 'table_row'
18
+ | 'quote' ;
16
19
paragraph ?: {
17
20
rich_text : RichTextItem [ ] ;
18
21
color : string ;
@@ -52,4 +55,22 @@ export interface NotionBlock {
52
55
url : string ;
53
56
caption : RichTextItem [ ] ;
54
57
} ;
58
+ table ?: {
59
+ table_width : number ;
60
+ has_column_header : boolean ;
61
+ has_row_header : boolean ;
62
+ } ;
63
+ table_row ?: {
64
+ cells : RichTextItem [ ] [ ] ;
65
+ } ;
66
+ quote ?: {
67
+ rich_text : RichTextItem [ ] ;
68
+ color : string ;
69
+ } ;
70
+ children ?: NotionBlock [ ] ;
71
+ has_children ?: boolean ;
72
+ parent ?: {
73
+ type : string ;
74
+ [ key : string ] : any ;
75
+ } ;
55
76
}
You can’t perform that action at this time.
0 commit comments