/** * External dependencies */ import React from 'react'; import { assign } from 'lodash'; import classnames from 'classnames'; /** * Internal dependencies */ import Card from 'components/card'; export default class CompactCard extends React.Component { static displayName = 'CompactCard'; render() { const props = assign( {}, this.props, { className: classnames( this.props.className, 'is-compact' ), } ); return { this.props.children }; } }