This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2023-05-28 05:18:23 -07:00
|
|
|
import * as React from 'react';
|
2023-05-22 23:58:08 -07:00
|
|
|
|
|
|
|
interface Props {
|
|
|
|
width?: number | string;
|
|
|
|
height?: number | string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export const Skeleton: React.FC<Props> = ({ width, height }) => (
|
|
|
|
<span className='skeleton' style={{ width, height }}>
|
|
|
|
‌
|
|
|
|
</span>
|
|
|
|
);
|