Update types
This commit is contained in:
parent
f2c36c28f9
commit
9db942873e
2
packages/netlify-cms-core/index.d.ts
vendored
2
packages/netlify-cms-core/index.d.ts
vendored
@ -580,7 +580,7 @@ declare module 'netlify-cms-core' {
|
|||||||
) => void;
|
) => void;
|
||||||
registerIcon: (iconName: string, icon: ReactNode) => void;
|
registerIcon: (iconName: string, icon: ReactNode) => void;
|
||||||
getIcon: (iconName: string) => ReactNode;
|
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 }[];
|
getAdditionalLinks: () => { title: string, link: string, iconName?: string }[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user