import React from 'react'; import { type ComposableProps } from '../../../lib/slot'; export interface TreeNodeProps extends Omit, 'title'> { /** * Node key (unique identifier) */ nodeKey: string; /** * Node title/content */ title: React.ReactNode; /** * Child nodes */ children?: React.ReactNode; /** * Node level (for indentation) * @default 0 */ level?: number; /** * Whether this node is a leaf (has no children) */ isLeaf?: boolean; /** * Whether this node is disabled */ disabled?: boolean; /** * Whether this node is selectable */ selectable?: boolean; /** * Whether this node is checkable */ checkable?: boolean; /** * Custom icon */ icon?: React.ReactNode; } /** * TreeNode Component * * A composable component for individual tree nodes. * Typically used within Tree. * * @public * * @example * ```tsx * * * * * * ``` * * @remarks * - Wraps the HTML `
` element by default. * - Supports `asChild` prop to merge props with a custom child element. * - Automatically handles expand/collapse, selection, and checking. */ export declare const TreeNode: React.ForwardRefExoticComponent>; //# sourceMappingURL=TreeNode.d.ts.map