Files
grafana/public/app/features/plugins/admin/components/Loader.tsx
Ashley Harrison 82eb160f5c Chore: SCSS tidy up (#87956)
* more scss tidy up

* replace some scss
2024-05-16 11:20:29 +01:00

16 lines
364 B
TypeScript

import React from 'react';
import { Box, LoadingPlaceholder } from '@grafana/ui';
export interface Props {
text?: string;
}
export const Loader = ({ text = 'Loading...' }: Props) => {
return (
<Box display="flex" alignItems="center" direction="column" justifyContent="center" paddingTop={10}>
<LoadingPlaceholder text={text} />
</Box>
);
};