mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
🚚 Move help section to reusable components dir
This commit is contained in:
parent
2ec6daca38
commit
1e9e566094
2 changed files with 6 additions and 9 deletions
|
@ -1,12 +1,9 @@
|
||||||
import { __ } from '@wordpress/i18n';
|
import { __ } from '@wordpress/i18n';
|
||||||
import { FeatureSettingsBlock } from '../../../../../ReusableComponents/SettingsBlocks';
|
import { FeatureSettingsBlock } from './SettingsBlocks';
|
||||||
import {
|
import { Content, ContentWrapper } from './Elements';
|
||||||
Content,
|
import SettingsCard from './SettingsCard';
|
||||||
ContentWrapper,
|
|
||||||
} from '../../../../../ReusableComponents/Elements';
|
|
||||||
import SettingsCard from '../../../../../ReusableComponents/SettingsCard';
|
|
||||||
|
|
||||||
const Help = () => {
|
const HelpSection = () => {
|
||||||
return (
|
return (
|
||||||
<SettingsCard
|
<SettingsCard
|
||||||
className="ppcp-r-tab-overview-help"
|
className="ppcp-r-tab-overview-help"
|
||||||
|
@ -69,4 +66,4 @@ const Help = () => {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Help;
|
export default HelpSection;
|
|
@ -1,7 +1,7 @@
|
||||||
import { __ } from '@wordpress/i18n';
|
import { __ } from '@wordpress/i18n';
|
||||||
import Todos from '../Components/Overview/Todos/Todos';
|
import Todos from '../Components/Overview/Todos/Todos';
|
||||||
import Features from '../Components/Overview/Features/Features';
|
import Features from '../Components/Overview/Features/Features';
|
||||||
import Help from '../Components/Overview/Help/Help';
|
import Help from '../../../ReusableComponents/HelpSection';
|
||||||
import { TodosHooks, CommonHooks, FeaturesHooks } from '../../../../data';
|
import { TodosHooks, CommonHooks, FeaturesHooks } from '../../../../data';
|
||||||
import SpinnerOverlay from '../../../ReusableComponents/SpinnerOverlay';
|
import SpinnerOverlay from '../../../ReusableComponents/SpinnerOverlay';
|
||||||
import usePaymentGatewaySync from '../../../../hooks/usePaymentGatewaySync';
|
import usePaymentGatewaySync from '../../../../hooks/usePaymentGatewaySync';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue