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 * * * Node Title * * * ``` * * @remarks * - Wraps the HTML `
` element by default. * - Supports `asChild` prop to merge props with a custom child element. * - Automatically handles selection and icon display. */ export declare const TreeNodeContent: React.ForwardRefExoticComponent>; //# sourceMappingURL=TreeNodeContent.d.ts.map