mirror of
https://github.com/whippyshou/mastodon
synced 2024-12-13 22:29:00 +09: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>
|
|
);
|