fix(types): add allow_add field (which is valid for list widgets) (#4111)

This commit is contained in:
Jonathan Lorimer
2020-08-04 05:30:25 -04:00
committed by GitHub
parent 022667100e
commit 7171c35d27

View File

@ -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;