All files / libs/payout-definition/plans/views/hub/rule-designer/src/lib/layout PlanHubRuleDesignerTabLayoutSkeleton.tsx

0% Statements 0/24
0% Branches 0/1
0% Functions 0/1
0% Lines 0/24

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25                                                 
import { css } from '@emotion/react';
import { memo } from 'react';

import { CircularLoader, Group } from '@allshares/studio-design-system';

export const PlanHubRuleDesignerTabLayoutSkeleton = memo(function PlanHubRuleDesignerTabLayoutSkeleton() {
  return (
    <Group
      align="center"
      justify="center"
      css={(theme) => css`
        flex: 1;
        background-color: ${theme.ds.colors.gray[0]};
        box-shadow: inset 0px 0px 8px 0px ${theme.ds.colors.gray[900]}14; // 8% opacity;

        [data-color-scheme='dark'] & {
          background-color: ${theme.ds.colors.dark[800]};
        }
      `}
    >
      <CircularLoader />
    </Group>
  );
});