woocommerce/plugins/woocommerce-blocks/assets/js/blocks/mini-cart/mini-cart-contents/block.tsx

22 lines
387 B
TypeScript

/**
* External dependencies
*/
/**
* Internal dependencies
*/
import './inner-blocks/register-components';
type MiniCartContentsBlockProps = {
attributes: Record< string, unknown >;
children: JSX.Element | JSX.Element[];
};
export const MiniCartContentsBlock = (
props: MiniCartContentsBlockProps
): JSX.Element => {
const { children } = props;
return <>{ children }</>;
};