tootlab-mastodon/app/javascript/mastodon/components/skeleton.tsx
2023-05-23 10:52:27 +02:00

11 lines
222 B
TypeScript

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