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

16 lines
294 B
TypeScript

/**
* 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>;
};