diff options
Diffstat (limited to 'moneyjsx/src/payment-success.tsx')
| -rw-r--r-- | moneyjsx/src/payment-success.tsx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/moneyjsx/src/payment-success.tsx b/moneyjsx/src/payment-success.tsx new file mode 100644 index 0000000..30316fb --- /dev/null +++ b/moneyjsx/src/payment-success.tsx @@ -0,0 +1,19 @@ +import * as JSX from './jsx'; +import { Page, GroupBox } from './components'; + +export default function PaymentSuccess( props: any ) { + setTimeout( () => JSX.navigateParams( "/terminal", {} ), 1000 ); + + return <Page> + <GroupBox title="Payment successful"> + <div style="padding: 5px"> + Your payment was successful. You should be redirected shortly... + </div> + <div style="width: 100%; text-align: right;"> + <button style="margin-right: 5px" onclick={ () => JSX.navigateParams( "/terminal", {} ) }> + go to terminal + </button> + </div> + </GroupBox> + </Page> +} |
