import { Card, Flex, Typography } from 'antd' import InfoCircleIcon from '../../Icons/InfoCircleIcon' import PropTypes from 'prop-types' const { Text } = Typography const MissingPlaceholder = ({ message, hasBackground = true, hasBorder = true, mutedBorder = false, padding = '16px', height = undefined }) => { var border = undefined if (hasBorder == false) { border = 'none' } else if (mutedBorder == true && hasBorder == true) { border = '1px solid var(--color-descriptions-border)' } return ( {message} ) } MissingPlaceholder.propTypes = { message: PropTypes.string.isRequired, hasBackground: PropTypes.bool, hasBorder: PropTypes.bool, mutedBorder: PropTypes.bool, padding: PropTypes.string, height: PropTypes.string } export default MissingPlaceholder