contentfultree/dist/ContentTree.d.ts
2025-03-03 09:41:58 +01:00

15 lines
603 B
TypeScript

import type { PlainClientAPI } from 'contentful-management';
import type { PageAppSDK } from 'contentful-ui-extensions-sdk';
import { type ReactElement } from 'react';
export interface ContentTreeProps {
sdkInstance: PageAppSDK;
cma: PlainClientAPI;
rootType: string;
nodeContentTypes: string[];
titleFields: string[];
locales: string[];
indentation?: number;
iconRegistry?: Record<string, string>;
}
export declare const ContentTree: ({ sdkInstance, cma, rootType, nodeContentTypes, titleFields, locales, indentation, iconRegistry, }: ContentTreeProps) => ReactElement;