25 lines
427 B
JavaScript
25 lines
427 B
JavaScript
/**
|
|
* External dependencies
|
|
*/
|
|
import classNames from 'classnames';
|
|
import PropTypes from 'prop-types';
|
|
|
|
/**
|
|
* Internal dependencies
|
|
*/
|
|
import './style.scss';
|
|
|
|
const SidebarLayout = ( { children, className } ) => {
|
|
return (
|
|
<div className={ classNames( 'wc-block-sidebar-layout', className ) }>
|
|
{ children }
|
|
</div>
|
|
);
|
|
};
|
|
|
|
SidebarLayout.propTypes = {
|
|
className: PropTypes.string,
|
|
};
|
|
|
|
export default SidebarLayout;
|