2019-12-03 14:12:46 +00:00
/ * *
* External dependencies
* /
2019-12-16 14:59:16 +00:00
import { _ _ } from '@wordpress/i18n' ;
import { withFeedbackPrompt } from '@woocommerce/block-hocs' ;
2019-12-03 14:12:46 +00:00
/ * *
* Internal dependencies
* /
import Block from './block.js' ;
2019-12-06 13:18:55 +00:00
import './editor.scss' ;
2019-12-03 14:12:46 +00:00
2019-12-16 14:59:16 +00:00
const CheckoutEditor = ( { attributes } ) => {
2019-12-03 14:12:46 +00:00
const { className } = attributes ;
2019-12-16 22:13:41 +00:00
// @todo: wrap Block with Disabled once you finish building the form
2019-12-03 14:12:46 +00:00
return (
< div className = { className } >
2019-12-16 22:13:41 +00:00
< Block attributes = { attributes } isEditor = { true } / >
2019-12-03 14:12:46 +00:00
< / d i v >
) ;
} ;
2019-12-16 14:59:16 +00:00
export default withFeedbackPrompt (
_ _ (
'We are currently working on improving our checkout and providing merchants with tools and options to customize their checkout to their stores needs.' ,
'woo-gutenberg-products-block'
)
) ( CheckoutEditor ) ;