mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 18:08:06 +01:00
10 lines
222 B
TypeScript
10 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>
|
|
);
|