@itwin/presentation-components
Version:
React components based on iTwin.js Presentation library
25 lines • 1.36 kB
TypeScript
/** @packageDocumentation
* @module Tree
*/
import "./PresentationTreeNodeRenderer.scss";
import { TreeNodeRendererProps } from "@itwin/components-react";
/**
* Props for [[PresentationTreeNodeRenderer]] component.
* @public
* @deprecated in 5.7. All tree-related APIs have been deprecated in favor of the new generation hierarchy
* building APIs (see https://github.com/iTwin/presentation/blob/33e79ee8d77f30580a9bab81a72884bda008db25/README.md#the-packages).
*/
export interface PresentationTreeNodeRendererProps extends TreeNodeRendererProps {
onFilterClick: (nodeId: string) => void;
onClearFilterClick: (nodeId: string) => void;
}
/**
* Component for rendering tree nodes produced by [[PresentationTreeDataProvider]]. Additionally to the default
* tree node renderer, it renders action buttons for filterable hierarchy levels and also correctly renders
* nodes that carry info messages.
* @public
* @deprecated in 5.7. All tree-related APIs have been deprecated in favor of the new generation hierarchy
* building APIs (see https://github.com/iTwin/presentation/blob/33e79ee8d77f30580a9bab81a72884bda008db25/README.md#the-packages).
*/
export declare function PresentationTreeNodeRenderer(props: PresentationTreeNodeRendererProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=PresentationTreeNodeRenderer.d.ts.map