mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Implement business view
This commit is contained in:
parent
222bd0848e
commit
1ced06b24e
13 changed files with 176 additions and 24 deletions
|
@ -0,0 +1,23 @@
|
|||
import { Button } from '@wordpress/components';
|
||||
import { __ } from '@wordpress/i18n';
|
||||
|
||||
const Navigation = ( { setStep, currentStep } ) => {
|
||||
return (
|
||||
<div className="ppcp-r-navigation">
|
||||
<Button
|
||||
variant="tertiary"
|
||||
onClick={ () => setStep( currentStep - 1 ) }
|
||||
>
|
||||
{ __( 'Back', 'woocommerce-paypal-payments' ) }
|
||||
</Button>
|
||||
<Button
|
||||
variant="primary"
|
||||
onClick={ () => setStep( currentStep + 1 ) }
|
||||
>
|
||||
{ __( 'Next', 'woocommerce-paypal-payments' ) }
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Navigation;
|
Loading…
Add table
Add a link
Reference in a new issue