import type { ASThemeProps } from '../astheme/ASTheme.types'; import type { PointerEvent, PropsWithChildren } from 'react'; import type { ASComponentSize, ASChoiceBarStyleOptions, ASTheme } from '../apptypes'; export type ASChoiceBarItemType = { itemId: string; displayText: string; icon?: React.ReactNode; theme?: ASTheme; size?: ASComponentSize; }; export type ASChoiceBarItemProps = { className?: string; theme?: ASTheme; itemId: string; displayText?: string; selected?: boolean; icon?: React.ReactNode; itemIndex?: number; size?: ASComponentSize; title?: string; onItemClick?: (e: PointerEvent, id: string, index: number) => void; onActivate?: (id: string, index: number) => void; inactive?: boolean; onItemResized?: (id: string, element: HTMLDivElement) => void; }; export type ASChoiceBarOwnProps = ASThemeProps & { id?: string; className?: string; selectedItemId?: string; onItemSelected?: (itemId: string) => void; navItems?: ASChoiceBarItemType[]; size?: ASComponentSize; styleOptions?: ASChoiceBarStyleOptions; dwStyleOptions?: ASChoiceBarStyleOptions; mwStyleOptions?: ASChoiceBarStyleOptions; }; export type ASChoiceBarProps = PropsWithChildren; //# sourceMappingURL=ASChoiceBar.types.d.ts.map