/** * External dependencies */ import { Component } from '@wordpress/element'; import PropTypes from 'prop-types'; import { Card, CardBody, CardFooter, CardHeader } from '@wordpress/components'; import clsx from 'clsx'; class StoreAlertsPlaceholder extends Component { render() { const { hasMultipleAlerts, className } = this.props; return ( { hasMultipleAlerts && }
); } } export default StoreAlertsPlaceholder; StoreAlertsPlaceholder.propTypes = { /** * Whether multiple alerts exists. */ hasMultipleAlerts: PropTypes.bool, }; StoreAlertsPlaceholder.defaultProps = { hasMultipleAlerts: false, };