/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { ListItemProps } from './ListItem.js'; import { ListGroupItemProps } from './ListGroupItem.js'; import * as React from 'react'; /** * @hidden */ export interface ListProps { id?: string; virtual?: boolean; show?: boolean; data: any[]; value?: any; textField?: string; valueField?: string; groupField?: string; isMultiColumn?: boolean; optionsGuid?: string; hasDuplicates?: boolean; listRef?: React.Ref; wrapperRef?: React.Ref; wrapperCssClass?: string; wrapperStyle?: React.CSSProperties; listStyle?: React.CSSProperties; listClassName?: string; skip?: number; focusedIndex?: number; highlightSelected?: boolean; ariaSetSize?: number; onClick: (index: number, event: React.MouseEvent) => void; itemRender?: (li: React.ReactElement, itemProps: ListItemProps) => React.ReactNode; groupHeaderItemRender?: (li: React.ReactElement, groupItemProps: ListGroupItemProps) => React.ReactNode; noDataRender?: (element: React.ReactElement) => React.ReactNode; onMouseDown?: (event: React.MouseEvent) => void; onBlur?: (event: React.FocusEvent) => void; onScroll?: (event: React.UIEvent) => void; scroller?: any; actionsField?: string; descriptionField?: string; iconField?: string; svgIconField?: string; checkboxField?: string; /** * Specifies whether to show the group header for the first group. * By default, the first group header is hidden because there is no previous group to differentiate from. * * @default false */ showFirstGroupHeader?: boolean; } /** * @hidden */ declare const List: (props: ListProps) => React.ReactElement; export default List;