import React from 'react';
import {
  FullPageBackground,
  LoaderContainer,
  CircularProgress,
} from '@digigov/ui/app/Loader';

export const FullPageLoader = (_: any) => {
  return (
    <div style={{ minHeight: '100px' }}>
      <FullPageBackground>
        <LoaderContainer>
          <CircularProgress />
        </LoaderContainer>
      </FullPageBackground>
    </div>
  );
};

export default FullPageLoader;
