mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 18:31:37 +01:00
6001f5ff36
Port 8f66126b10
to glitch-soc
12 lines
255 B
TypeScript
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 }}>
|
|
‌
|
|
</span>
|
|
);
|