import React from 'react';
import { type ComposableProps } from '../../../lib/slot';
export interface TreeNodeContentProps extends ComposableProps<'div'> {
/**
* Node key
*/
nodeKey: string;
/**
* Custom icon (optional)
*/
icon?: React.ReactNode;
/**
* Content (typically node title)
*/
children: React.ReactNode;
}
/**
* TreeNodeContent Component
*
* A composable component for the content of a tree node.
* Typically used within TreeNode.
*
* @public
*
* @example
* ```tsx
*