26 lines
606 B
JavaScript
26 lines
606 B
JavaScript
|
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;
|