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