woocommerce/plugins/woocommerce-blocks/assets/js/base/components/sidebar-layout/sidebar.js

22 lines
362 B
JavaScript

/**
* External dependencies
*/
import classNames from 'classnames';
import PropTypes from 'prop-types';
const Sidebar = ( { children, className } ) => {
return (
<div
className={ classNames( 'wc-block-components-sidebar', className ) }
>
{ children }
</div>
);
};
Sidebar.propTypes = {
className: PropTypes.string,
};
export default Sidebar;