File "compact.jsx"
Full Path: /home/warrior1/public_html/wp-content-20241001222009/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/compact.jsx
File size: 471 bytes
MIME-type: text/x-java
Charset: utf-8
/*eslint lodash/import-scope: [2, "method"]*/
import classnames from 'classnames';
import Card from 'components/card';
import assign from 'lodash/assign';
import React from 'react';
export default class CompactCard extends React.Component {
static displayName = 'CompactCard';
render() {
const props = assign( {}, this.props, {
className: classnames( this.props.className, 'is-compact' ),
} );
return <Card { ...props }>{ this.props.children }</Card>;
}
}