@grafana/ui
Version:
Grafana Components Library
29 lines (28 loc) • 1.08 kB
TypeScript
import { ReactNode } from 'react';
import { IconName } from '../../types/icon';
export interface Props {
pageIcon?: IconName;
title?: string;
section?: string;
parent?: string;
onGoBack?: () => void;
titleHref?: string;
parentHref?: string;
leftItems?: ReactNode[];
children?: ReactNode;
className?: string;
isFullscreen?: boolean;
'aria-label'?: string;
buttonOverflowAlignment?: 'left' | 'right';
/**
* Forces left items to be visible on small screens.
* By default left items are hidden on small screens.
*/
forceShowLeftItems?: boolean;
}
/**
* @deprecated Use Page instead
*
* https://developers.grafana.com/ui/latest/index.html?path=/docs/navigation-deprecated-pagetoolbar--docs
*/
export declare const PageToolbar: import("react").MemoExoticComponent<({ title, section, parent, pageIcon, onGoBack, children, titleHref, parentHref, leftItems, isFullscreen, className, "aria-label": ariaLabel, buttonOverflowAlignment, forceShowLeftItems, }: Props) => import("react/jsx-runtime").JSX.Element>;