import React from 'react'; import type { ThemeVars } from '@coinbase/cds-common/core/theme'; import { type BoxBaseProps, type BoxProps } from '../layout'; import type { ResponsiveProp } from '../styles/styleProps'; import type { StylesAndClassNames } from '../types'; export declare const navigationBarDefaultElement = 'nav'; export type NavigationBarDefaultElement = typeof navigationBarDefaultElement; /** * Static class names for NavigationBar component parts. * Use these selectors to target specific elements with CSS. */ export declare const navigationBarClassNames: { /** Root nav element containing the entire navigation bar */ readonly root: 'cds-NavigationBar'; /** Container for the start slot (e.g., back button) */ readonly start: 'cds-NavigationBar-start'; /** Container for the main children content (e.g., title) */ readonly content: 'cds-NavigationBar-content'; }; export type NavigationBarBaseProps = BoxBaseProps & { /** * Node (ie Back button) to display at the start of the nav bar */ start?: React.ReactNode; /** * Node (icons, avatar, etc) to display at the end of the nav bar */ end?: React.ReactNode; /** * The bottom content. Use to render tabs */ bottom?: React.ReactNode; /** * The middle content. Use the children to render the page title */ children?: React.ReactNode; /** * Accessibility label for the nav bar * @default 'main navigation' */ accessibilityLabel?: string; /** * @default 2 */ paddingX?: ThemeVars.Space; /** * @default 2 */ paddingTop?: ThemeVars.Space; /** * @default 2 if bottom is not provided */ paddingBottom?: ThemeVars.Space; /** * Space between bottom of the nav bar and the rest of its content * @default 2 */ rowGap?: ResponsiveProp; /** * Space between the start, children, and end of the nav bar * @default 2 */ columnGap?: ResponsiveProp; /** * Disable the `overflow: hidden` style from being injected to the child Col */ dangerouslyDisableOverflowHidden?: boolean; }; export type NavigationBarProps = NavigationBarBaseProps & StylesAndClassNames & Omit, 'children'>; export declare const NavigationBar: React.MemoExoticComponent< (_props: NavigationBarProps) => import('react/jsx-runtime').JSX.Element >; //# sourceMappingURL=NavigationBar.d.ts.map