woocommerce-paypal-payments/modules/ppcp-settings/resources/js/Components/ReusableComponents/OnboardingHeader.js

26 lines
654 B
JavaScript
Raw Normal View History

2024-10-23 08:56:47 +02:00
import data from '../../utils/data';
const OnboardingHeader = ( props ) => {
return (
<section className="ppcp-r-onboarding-header">
2024-11-05 13:49:38 +04:00
<div className="ppcp-r-onboarding-header__logo">
2024-10-23 08:56:47 +02:00
<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">
{ props.description }
</p>
) }
</div>
</section>
);
};
export default OnboardingHeader;