mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-27 02:24:03 -05:00
11 lines
222 B
TypeScript
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 }}>
|
||
|
‌
|
||
|
</span>
|
||
|
);
|