import { Card, Flex, Typography } from 'antd' import { LoadingOutlined } from '@ant-design/icons' import PropTypes from 'prop-types' const { Text } = Typography const LoadingPlaceholder = ({ message, hasBackground = true }) => { return ( {message} ) } LoadingPlaceholder.propTypes = { message: PropTypes.string.isRequired, hasBackground: PropTypes.bool } export default LoadingPlaceholder