DocSpace-client/packages/common/components/Loaders/InfoPanelBodyLoader/views/NoItemLoader.js

26 lines
606 B
JavaScript
Raw Normal View History

2022-10-01 23:39:56 +00:00
import React from "react";
import styled from "styled-components";
import RectangleLoader from "../../RectangleLoader/RectangleLoader";
const StyledNoItemLoader = styled.div`
width: 100%;
margin: 80px 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 32px;
`;
const NoItemLoader = () => {
return (
<StyledNoItemLoader>
<RectangleLoader width={"96px"} height={"96px"} borderRadius={"6px"} />
<RectangleLoader width={"150px"} height={"16px"} borderRadius={"3px"} />
</StyledNoItemLoader>
);
};
export default NoItemLoader;