import { Skeleton } from 'antd';

type LoadingProps = {
  padding?: string;
};
const Loading: React.FC<LoadingProps> = ({ padding = '24px 40px' }) => (
  <Skeleton style={{ padding }} active />
);

export default Loading;
