mirror of
https://github.com/foomo/contentfultree.git
synced 2025-10-16 12:25:41 +00:00
16 lines
492 B
TypeScript
16 lines
492 B
TypeScript
/// <reference types="react" />
|
|
import { PlainClientAPI } from 'contentful-management';
|
|
import { PageExtensionSDK } from 'contentful-ui-extensions-sdk';
|
|
export interface ContentTreeProps {
|
|
sdkInstance: PageExtensionSDK;
|
|
cma: PlainClientAPI;
|
|
rootType: string;
|
|
nodeContentTypes: string[];
|
|
titleFields: string[];
|
|
locales: string[];
|
|
iconRegistry?: {
|
|
[index: string]: string;
|
|
};
|
|
}
|
|
export declare const ContentTree: (props: ContentTreeProps) => JSX.Element;
|