import React from 'react';

import { classes } from './SkeletonRectangle.st.css';

export const SkeletonRectangle = ({
  height,
  width,
  margin,
}: {
  height?: string;
  width?: string;
  margin?: string;
}) => {
  return (
    <div className={classes.root}>
      <div style={{ height, width, margin }} />
      <div className={classes.animator} />
    </div>
  );
};
