20 lines
344 B
JavaScript
20 lines
344 B
JavaScript
|
/**
|
||
|
* External dependencies
|
||
|
*/
|
||
|
import classNames from 'classnames';
|
||
|
import PropTypes from 'prop-types';
|
||
|
|
||
|
const Main = ( { children, className } ) => {
|
||
|
return (
|
||
|
<div className={ classNames( 'wc-block-components-main', className ) }>
|
||
|
{ children }
|
||
|
</div>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
Main.propTypes = {
|
||
|
className: PropTypes.string,
|
||
|
};
|
||
|
|
||
|
export default Main;
|