import type { ComponentProps, CSSProperties, DragEvent, ElementType, ReactNode } from 'react'; import type { Badge } from '../../../components/Badge'; import type { ItemType, PinUnPinType } from '../types'; export type ItemExpandedType = { categoryIcon: ReactNode; containerTag: ElementType; disabled?: boolean; hasActiveChildren: boolean; active?: boolean; noExpand: boolean; subLabel?: string; shouldShowPinnedButton: boolean; children: ReactNode; dataTestId?: string; dataFlipId?: string | null; type: ItemType; href?: HTMLAnchorElement['href']; rel?: HTMLAnchorElement['rel']; id: string; style?: CSSProperties; target?: HTMLAnchorElement['target']; label: string; labelDescription: ReactNode; hasPinnedFeatureAndNoChildren?: boolean; badgeText?: string; badgeSentiment?: ComponentProps['sentiment']; isItemPinned: boolean; pinTooltipLocale: string; onClickPinUnpin: ((parameters: PinUnPinType) => void) | undefined; isPinDisabled: boolean; onToggle?: (toggle: boolean) => void; index?: number; onDragStopTrigger: (event: DragEvent) => void; toggle?: boolean; }; export type ItemMenuType = { style?: CSSProperties; children: ReactNode; label: string; hasActiveChildren: boolean; categoryIcon?: ReactNode; active?: boolean; /** * @private */ 'data-flip-id'?: string; }; export type ItemMenuItemType = { active?: boolean; shouldShowPinnedButton: boolean; disabled?: boolean; href?: string; onToggle?: (toggle: boolean) => void; rel?: HTMLAnchorElement['rel']; style?: CSSProperties; target?: HTMLAnchorElement['target']; hasActiveChildren: boolean; noExpand: boolean; labelDescription: ReactNode; label: string; badgeText?: string; badgeSentiment?: ComponentProps['sentiment']; hasHrefAndNoChildren?: boolean | ''; pinTooltipLocale: string; isItemPinned: boolean; isPinDisabled: boolean; onClickPinUnpin?: (parameters: PinUnPinType) => void; id: string; }; //# sourceMappingURL=ComponentsTypes.d.ts.map