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;
|
||||
fields: EditorComponentField[];
|
||||
pattern: RegExp;
|
||||
allow_add?: boolean;
|
||||
fromBlock: (match: RegExpMatchArray) => any;
|
||||
toBlock: (data: any) => string;
|
||||
toPreview: (data: any) => string;
|
||||
|
Loading…
x
Reference in New Issue
Block a user