mirror of
https://github.com/foomo/contentfultree.git
synced 2025-10-16 12:25:41 +00:00
15 lines
603 B
TypeScript
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;
|