mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 04:58:28 +08:00
26 lines
733 B
JavaScript
26 lines
733 B
JavaScript
import data from '../../utils/data';
|
|
|
|
const OnboardingHeader = ( props ) => {
|
|
return (
|
|
<section className="ppcp-r-onboarding-header">
|
|
<div className="ppcp-r-onboarding-header__logo">
|
|
<div className="ppcp-r-onboarding-header__logo-wrapper">
|
|
{ data().getImage( 'logo-paypal.svg' ) }
|
|
</div>
|
|
</div>
|
|
<div className="ppcp-r-onboarding-header__content">
|
|
<h1 className="ppcp-r-onboarding-header__title">
|
|
{ props.title }
|
|
</h1>
|
|
{ props.description && (
|
|
<p
|
|
className="ppcp-r-onboarding-header__description"
|
|
dangerouslySetInnerHTML={ { __html: props.description, } }
|
|
></p>
|
|
) }
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default OnboardingHeader;
|