mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-15 12:46:53 +00:00
28 lines
636 B
TypeScript
28 lines
636 B
TypeScript
![]() |
import * as React from 'react';
|
||
|
import styled from 'styled-components';
|
||
|
import { LoadingOutlined } from '@ant-design/icons';
|
||
|
import { ANTD_GRAY } from '../entity/shared/constants';
|
||
|
|
||
|
const Container = styled.div`
|
||
|
height: auto;
|
||
|
width: 100%;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
background-color: rgb(250, 250, 250);
|
||
|
`;
|
||
|
|
||
|
const StyledLoading = styled(LoadingOutlined)`
|
||
|
font-size: 36px;
|
||
|
color: ${ANTD_GRAY[7]};
|
||
|
padding-bottom: 18px;
|
||
|
]`;
|
||
|
|
||
|
export default function LineageLoadingSection() {
|
||
|
return (
|
||
|
<Container>
|
||
|
<StyledLoading />
|
||
|
</Container>
|
||
|
);
|
||
|
}
|