~cytrogen/masto-fe

ref: 1a33f1df170c6a3dfd4c6c55741e1e62727ec9ae masto-fe/app/javascript/mastodon/components/skeleton.tsx -rw-r--r-- 222 bytes
1a33f1df — Claire Merge pull request #2305 from ClearlyClaire/glitch-soc/merge-upstream 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
interface Props {
  width?: number | string;
  height?: number | string;
}

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