errorPanel.tsx 459 B

1234567891011121314151617181920
  1. import styled from '@emotion/styled';
  2. const ErrorPanel = styled('div')<{height?: string}>`
  3. display: flex;
  4. flex-direction: column;
  5. justify-content: center;
  6. align-items: center;
  7. flex: 1;
  8. flex-shrink: 0;
  9. overflow: hidden;
  10. height: ${p => p.height || '200px'};
  11. position: relative;
  12. border-color: transparent;
  13. margin-bottom: 0;
  14. color: ${p => p.theme.gray300};
  15. font-size: ${p => p.theme.fontSizeExtraLarge};
  16. `;
  17. export default ErrorPanel;