fix(types): add allow_add field (which is valid for list widgets) (#4111)
This commit is contained in:
parent
022667100e
commit
7171c35d27
1
packages/netlify-cms-core/index.d.ts
vendored
1
packages/netlify-cms-core/index.d.ts
vendored
@ -206,6 +206,7 @@ declare module 'netlify-cms-core' {
|
|||||||
label: string;
|
label: string;
|
||||||
fields: EditorComponentField[];
|
fields: EditorComponentField[];
|
||||||
pattern: RegExp;
|
pattern: RegExp;
|
||||||
|
allow_add?: boolean;
|
||||||
fromBlock: (match: RegExpMatchArray) => any;
|
fromBlock: (match: RegExpMatchArray) => any;
|
||||||
toBlock: (data: any) => string;
|
toBlock: (data: any) => string;
|
||||||
toPreview: (data: any) => string;
|
toPreview: (data: any) => string;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user