/** @format */ /** * External dependencies */ import { Component } from '@wordpress/element'; import classnames from 'classnames'; import PropTypes from 'prop-types'; /** * Internal dependencies */ import './style.scss'; import { EllipsisMenu } from '../ellipsis-menu'; class Card extends Component { render() { const { action, children, menu, title } = this.props; const className = classnames( 'woo-dash__card', this.props.className, { 'has-menu': !! menu, 'has-action': !! action, } ); return (