mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
16 lines
478 B
JavaScript
16 lines
478 B
JavaScript
import { StylingHooks } from '../../../../data';
|
|
import PreviewPanel from '../Components/Styling/PreviewPanel';
|
|
import SettingsPanel from '../Components/Styling/SettingsPanel';
|
|
|
|
const TabStyling = () => {
|
|
const { location, setLocation } = StylingHooks.useStylingLocation();
|
|
|
|
return (
|
|
<div className="ppcp-r-styling">
|
|
<SettingsPanel location={ location } setLocation={ setLocation } />
|
|
<PreviewPanel location={ location } />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default TabStyling;
|