import { ThemeDropdownObject } from '../ThemeDropdown'; import { NewsKitIconProps, UncompiledTheme, MQ } from 'newskit'; import React from 'react'; export interface NavigationPrimaryInterface { text: string; link: string; icon: React.ReactElement | null; ariaLabel?: string; } export interface NavigationPrimaryThemeProps { customTheme?: UncompiledTheme; themeDropdownObject?: ThemeDropdownObject; } export interface NavigationPrimaryProps extends NavigationPrimaryThemeProps { env?: Record; pageName?: string; children?: React.ReactNode; nav?: NavigationPrimaryInterface[] | false; title?: string; titleHref?: string; titleOverrides?: { stylePreset?: MQ; typographyPreset?: MQ; }; navMinHeight?: MQ; actionContainerOverrides?: { minHeight: MQ; paddingInline: MQ; paddingBlock: MQ; }; logoHref?: string; logoSrc?: string; logoWidth?: string; logoHeight?: string; loggedInUser?: boolean; gridOverrides?: { width?: MQ; minWidth?: MQ; maxWidth?: MQ; height?: MQ; minHeight?: MQ; maxHeight?: MQ; } & { marginInlineStart?: MQ; marginInlineEnd?: MQ; marginInline?: MQ; marginBlockStart?: MQ; marginBlockEnd?: MQ; marginBlock?: MQ; }; } export type Logo = { src?: string; width?: string; height?: string; top?: string; } | undefined;