woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/checkout/edit.js

24 lines
372 B
JavaScript

/**
* External dependencies
*/
import { Disabled } from '@wordpress/components';
/**
* Internal dependencies
*/
import Block from './block.js';
const Edit = ( { attributes } ) => {
const { className } = attributes;
return (
<div className={ className }>
<Disabled>
<Block attributes={ attributes } />
</Disabled>
</div>
);
};
export default Edit;