import React from 'react';
import { SBox } from '../../../common/s-components/layout/s-box';
import { AnimatedGradient } from '../../../common/components/animated-gradient';

type TProps = {};

export const SkeletonTitle: React.FC<TProps> = () => {
  return (
    <SBox
      position="relative"
      height={16}
      mx={16}
      mb={7}
      mt={2}
      overflow="hidden"
    >
      <SBox width={192} height={16} mt={0} bg="eastBay" />
      <SBox position="absolute" top={-16} left={0} height={48} flex={1}>
        <AnimatedGradient angle={8} gradientWidth={160} />
      </SBox>
    </SBox>
  );
};
