chuckya/app/javascript/flavours/glitch/components/skeleton.tsx
2023-05-28 14:18:43 +02:00

12 lines
255 B
TypeScript

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>
);