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

type TProps = {};

export const Skeleton: React.FC<TProps> = () => {
  return (
    <SBox position="relative">
      <SBox mx={16} width={112} height={32} bg="eastBay" borderRadius={16} />
      <SBox position="absolute" top={0} left={0} height="100%" flex={1}>
        <AnimatedGradient angle={8} gradientWidth={160} />
      </SBox>
    </SBox>
  );
};
