glitch-soc/mastodon

View on GitHub
app/javascript/flavours/glitch/components/skeleton.tsx

Summary

Maintainability
A
2 hrs
Test Coverage
interface Props {
  width?: number | string;
  height?: number | string;
}

export const Skeleton: React.FC<Props> = ({ width, height }) => (
  <span className='skeleton' style={{ width, height }}>
    &zwnj;
  </span>
);