woocommerce/plugins/woocommerce-admin/client/homescreen/welcome-modal/page-content/index.js

18 lines
392 B
JavaScript

/**
* External dependencies
*/
import React from '@wordpress/element';
export const PageContent = ( { title, body } ) => {
return (
<div className="woocommerce__welcome-modal__page-content">
<h2 className="woocommerce__welcome-modal__page-content__header">
{ title }
</h2>
<p className="woocommerce__welcome-modal__page-content__body">
{ body }
</p>
</div>
);
};