woocommerce/packages/woocommerce-blocks/assets/js/blocks/cart-checkout/checkout/columns/columns-block.tsx
2021-12-10 12:03:04 +00:00

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