/** * SPDX-FileCopyrightText: © 2021 Liferay, Inc. * SPDX-License-Identifier: BSD-3-Clause */ import React from 'react'; export interface ITreeViewItemProps extends Omit, 'children'> { /** * Flag to set the node to the active state. */ active?: boolean; /** * Property for rendering actions on a Node. */ actions?: React.ReactElement; /** * Item content. */ children: React.ReactNode; /** * Flag to define if the item is draggable and dropable. */ draggable?: boolean; /** * Flag indicating that the component is disabled. */ disabled?: boolean; /** * Flag to indicate if the item is expandable. This renders the arrow * button on the item. */ expandable?: boolean; /** * @ignore */ isDragging?: boolean; /** * Flag to remove the visual of the hover over the item. */ noHover?: boolean; /** * @ignore */ overPosition?: string; /** * @ignore */ overTarget?: boolean; } export declare const Item: React.ForwardRefExoticComponent>; interface ITreeViewItemStackProps extends React.HTMLAttributes { /** * Flag to set the node to the active state. */ active?: boolean; /** * @ignore */ actions?: React.ReactElement; /** * Item content. */ children: React.ReactNode; /** * Flag to define if the item is draggable and dropable. */ draggable?: boolean; /** * Flag indicating that the component is disabled. */ disabled?: boolean; /** * Flag indicating if Expander is disabled, by default it has the * value of the disabled prop. */ expanderDisabled?: boolean; /** * Flag to indicate if the item is expandable. This renders the arrow * button on the item. */ expandable?: boolean; /** * Flag to indicate if the item should be expanded when clicking the * node itself (not the expander) */ expandOnClick?: boolean; /** * Flag to remove the visual of the hover over the item. */ noHover?: boolean; /** * @ignore */ labelId?: string; /** * @ignore */ loading?: boolean; /** * @ignore */ onLoadMore?: () => void; /** * @ignore */ tabIndex?: number; /** * @ignore */ isNonDraggrable?: boolean; } export declare function ItemStack({ actions, children, disabled, expandable, expanderDisabled, isNonDraggrable, labelId, loading, onLoadMore, tabIndex, ...otherProps }: ITreeViewItemStackProps): JSX.Element; export declare namespace ItemStack { var displayName: string; } export {};