File "frontend.tsx"
Full Path: /home/warrior1/public_html/wp-content-20241001222009/plugins/woocommerce/packages/woocommerce-blocks/assets/js/blocks/cart/inner-blocks/cart-totals-block/frontend.tsx
File size: 500 bytes
MIME-type: text/x-java
Charset: utf-8
/**
* External dependencies
*/
import classnames from 'classnames';
import { Sidebar } from '@woocommerce/base-components/sidebar-layout';
/**
* Internal dependencies
*/
import './style.scss';
const FrontendBlock = ( {
children,
className = '',
}: {
children: JSX.Element | JSX.Element[];
className?: string;
} ): JSX.Element => {
return (
<Sidebar
className={ classnames( 'wc-block-cart__sidebar', className ) }
>
{ children }
</Sidebar>
);
};
export default FrontendBlock;