import { EventContext, MQ } from 'newskit'; export interface TBackButton { text: string; href: string; 'aria-label': string; eventContext?: EventContext; hasIcon?: boolean; } export interface BackButtonOverrides { stylePreset?: MQ; typographyPreset?: MQ; paddingInline?: MQ; paddingBlock?: MQ; marginBlockEnd?: MQ; iconSize?: MQ; size?: 'small' | 'medium' | 'large'; asLink?: boolean; } export interface BackButtonProps { backButton?: TBackButton; backButtonOverrides?: BackButtonOverrides; eventContext?: EventContext; onClick?: (event: React.MouseEvent) => void; }