Update types

This commit is contained in:
Daniel Lautzenheiser 2022-09-20 10:46:59 -04:00
parent f2c36c28f9
commit 9db942873e

View File

@ -580,7 +580,7 @@ declare module 'netlify-cms-core' {
) => void;
registerIcon: (iconName: string, icon: ReactNode) => void;
getIcon: (iconName: string) => ReactNode;
registerAdditionalLink: (title: string, link: string, iconName?: string) => void;
registerAdditionalLink: (id: string, title: string, link: string, iconName?: string) => void;
getAdditionalLinks: () => { title: string, link: string, iconName?: string }[];
}