mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-04 19:09:04 +01:00
6746e5d430
Port 8066118d1f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
12 lines
250 B
TypeScript
12 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>
|
|
);
|