Direktori : /home/brasafestival/www/old/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/ |
Current File : /home/brasafestival/www/old/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/compact.jsx |
/*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>; } }