@grafana/ui
Version:
Grafana Components Library
27 lines (26 loc) • 929 B
TypeScript
import type * as React from 'react';
import { LoadingIndicator } from './LoadingIndicator';
import { type PanelChromeProps } from './PanelChrome';
import { TitleItem } from './TitleItem';
/**
* @internal
*/
export type { PanelChromeProps, PanelPadding } from './PanelChrome';
/**
* @internal
*/
export interface PanelChromeType extends React.FC<PanelChromeProps> {
LoadingIndicator: typeof LoadingIndicator;
TitleItem: typeof TitleItem;
}
/**
* @internal
*/
export declare const PanelChrome: PanelChromeType;
/**
* Exporting the components for extensibility and since it is a good practice
* according to the api-extractor.
*/
export { LoadingIndicator as PanelChromeLoadingIndicator, type LoadingIndicatorProps as PanelChromeLoadingIndicatorProps, } from './LoadingIndicator';
export { usePanelContext, PanelContextProvider, type PanelContext, PanelContextRoot } from './PanelContext';
export * from './types';