import React from 'react'; import type { FlattenedItem } from './types'; import './TreeItem.scss'; export interface TreeItemProps { clone?: boolean; depth: number; withDepthMarkers?: boolean; disableInteraction?: boolean; ghost?: boolean; handleProps?: Record; value: string; item: FlattenedItem; dragRef?: React.Ref | null; wrapperRef?: React.Ref | null; renderItem: TreeItemRenderFn; /** * Styles from dnd-kit to transform the depth lines */ style?: React.CSSProperties; top?: number; } export type TreeItemRenderFnProps = { ref: React.Ref | null; clone: boolean; value: string; item: FlattenedItem; handleProps?: Record; }; export type TreeItemRenderFn = (props: TreeItemRenderFnProps) => JSX.Element; export declare function TreeItem(props: TreeItemProps): JSX.Element; export declare namespace TreeItem { var displayName: string; } //# sourceMappingURL=TreeItem.d.ts.map