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.
|
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
|
|
const Skeleton = ({ width, height }) => <span className='skeleton' style={{ width, height }}>‌</span>;
|
|
|
|
Skeleton.propTypes = {
|
|
width: PropTypes.number,
|
|
height: PropTypes.number,
|
|
};
|
|
|
|
export default Skeleton;
|