~cytrogen/masto-fe

ref: 5c79cd6cf732c348b3cf63e9e6c79d189e42d08d masto-fe/app/javascript/flavours/glitch/components/skeleton.tsx -rw-r--r-- 255 bytes
5c79cd6c — Cytrogen [chore] Add .gstack/ to gitignore 5 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
import * as 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>
);