woocommerce/packages/woocommerce-blocks/assets/js/base/components/sidebar-layout/main.js

20 lines
344 B
JavaScript
Raw Normal View History

2021-12-10 12:03:04 +00:00
/**
* 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;