-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathshipping-time-section.js
46 lines (42 loc) · 1.11 KB
/
shipping-time-section.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import Section from '~/components/section';
import AppDocumentationLink from '~/components/app-documentation-link';
import ShippingTimeSetup from './shipping-time-setup';
/**
* @fires gla_documentation_link_click with `{ context: 'setup-mc-shipping', link_id: 'shipping-read-more', href: 'https://support.google.com/merchants/answer/7050921' }`
*/
const ShippingTimeSection = () => {
return (
<Section
title={ __( 'Shipping times', 'google-listings-and-ads' ) }
description={
<div>
<p>
{ __(
'Your shipping times will be shown to potential customers on Google.',
'google-listings-and-ads'
) }
</p>
<p>
<AppDocumentationLink
context="setup-mc-shipping"
linkId="shipping-read-more"
href="https://support.google.com/merchants/answer/7050921"
>
{ __( 'Read more', 'google-listings-and-ads' ) }
</AppDocumentationLink>
</p>
</div>
}
>
<ShippingTimeSetup />
</Section>
);
};
export default ShippingTimeSection;