mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-15 20:22:59 -05:00
6746e5d430
Port 8066118d1f558ed9c53d1c775a78553c6167161b to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
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>
|
|
);
|