mirror of
https://github.com/foomo/contentfultree.git
synced 2025-10-16 12:25:41 +00:00
16 lines
671 B
TypeScript
16 lines
671 B
TypeScript
import type { PlainClientAPI } from 'contentful-management';
|
|
import type { PageAppSDK } from 'contentful-ui-extensions-sdk';
|
|
import { type ReactElement } from 'react';
|
|
import { type ContentTreeNodeProps } from './ContentTreeNode';
|
|
export interface ContentTreeRootProps {
|
|
node: ContentTreeNodeProps;
|
|
sdkInstance: PageAppSDK;
|
|
cma: PlainClientAPI;
|
|
nodeContentTypes: string[];
|
|
titleFields: string[];
|
|
locales: string[];
|
|
depth: number;
|
|
iconRegistry?: Record<string, string>;
|
|
}
|
|
export declare const ContentTreeRoot: ({ node, sdkInstance, cma, nodeContentTypes, titleFields, locales, depth, iconRegistry, }: ContentTreeRootProps) => ReactElement;
|