mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 06:58:06 +01:00
13 lines
250 B
TypeScript
13 lines
250 B
TypeScript
|
import 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>
|
||
|
);
|