mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 09:05:45 -06:00
16 lines
297 B
TypeScript
16 lines
297 B
TypeScript
import React from 'react';
|
|
|
|
import { LoadingPlaceholder } from '@grafana/ui';
|
|
|
|
export interface Props {
|
|
text?: string;
|
|
}
|
|
|
|
export const Loader = ({ text = 'Loading...' }: Props) => {
|
|
return (
|
|
<div className="page-loader-wrapper">
|
|
<LoadingPlaceholder text={text} />
|
|
</div>
|
|
);
|
|
};
|