Skip to content

The open alternative to Salesforce, designed for AI.

593 B
Raw Blame
import { SkeletonLine } from '@/ui/feedback/skeleton/components/SkeletonLine';
import { styled } from '@linaria/react';
import { SKELETON_HEIGHT_SIZES } from 'twenty-ui/primitives/feedback';
import { themeCssVariables } from 'twenty-ui/theme';

const StyledSidePanelContainer = styled.div`
  display: flex;
  flex-direction: column;
  padding: ${themeCssVariables.spacing[4]};
  width: 100%;
`;

export const SidePanelSkeletonLoader = () => {
  return (
    <StyledSidePanelContainer>
      <SkeletonLine height={SKELETON_HEIGHT_SIZES.m} width={140} />
    </StyledSidePanelContainer>
  );
};