import { BaseComponentProps } from '../../base-component'; import { HighlightType } from '../options-list/utils/use-highlight-option'; export type SelectableItemProps = BaseComponentProps & { children: React.ReactNode; selected?: boolean; highlighted?: boolean; disabled?: boolean; hasBackground?: boolean; isParent?: boolean; isChild?: boolean; isSelectAll?: boolean; virtualPosition?: number; padBottom?: boolean; disableContentStyling?: boolean; isPreviousSelected?: boolean; isNextSelected?: boolean; useInteractiveGroups?: boolean; screenReaderContent?: string; ariaPosinset?: number; ariaSetsize?: number; highlightType?: HighlightType['type']; ariaDescribedby?: string; value?: string; sticky?: boolean; afterHeader?: boolean; withScrollbar?: boolean; ariaSelected?: boolean | never; ariaChecked?: boolean | 'mixed' | never; }; export interface ItemDataAttributes { 'data-group-index'?: string; 'data-child-index'?: string; 'data-in-group-index'?: string; 'data-test-index'?: string; }