woocommerce/packages/woocommerce-blocks/assets/js/blocks/cart-checkout/cart-i2/columns/columns-block.tsx

16 lines
294 B
TypeScript
Raw Normal View History

2021-12-10 12:03:04 +00:00
/**
* External dependencies
*/
import { useBlockProps } from '@wordpress/block-editor';
export const Columns = ( {
children,
...props
}: {
children?: React.ReactNode;
} ): JSX.Element => {
const blockProps = useBlockProps( props );
return <div { ...blockProps }>{ children }</div>;
};