~cytrogen/masto-fe

ref: 9381f7816639418acf0934c1594ac6d863a4c078 masto-fe/app/javascript/flavours/glitch/components/skeleton.tsx -rw-r--r-- 250 bytes
9381f781 — Claire Merge commit '8f66126b1010e0aaaa8b5f2a2f4ea8a28824e2b7' into glitch-soc/merge-upstream 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
import React from 'react';

interface Props {
  width?: number | string;
  height?: number | string;
}

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