loadingMask.tsx 379 B

123456789101112131415
  1. import styled from '@emotion/styled';
  2. export interface LoadingMaskProps extends React.HTMLAttributes<HTMLDivElement> {}
  3. const LoadingMask = styled('div')<LoadingMaskProps>`
  4. background-color: ${p => p.theme.backgroundSecondary};
  5. border-radius: ${p => p.theme.borderRadius};
  6. position: absolute;
  7. top: 0;
  8. bottom: 0;
  9. left: 0;
  10. right: 0;
  11. `;
  12. export default LoadingMask;