omnipay-reactnative-sdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/README.md +29 -0
- package/lib/commonjs/index.js +46 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/module/index.js +37 -0
- package/lib/module/index.js.map +1 -0
- package/lib/typescript/index.d.ts +10 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/package.json +155 -0
- package/src/index.tsx +53 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 engrtitus
|
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
in the Software without restriction, including without limitation the rights
|
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
furnished to do so, subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
|
12
|
+
copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# omnipay-reactnative-sdk
|
|
2
|
+
Omnipay react native sdk
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm install omnipay-reactnative-sdk
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import { multiply } from "omnipay-reactnative-sdk";
|
|
13
|
+
|
|
14
|
+
// ...
|
|
15
|
+
|
|
16
|
+
const result = await multiply(3, 7);
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Contributing
|
|
20
|
+
|
|
21
|
+
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
|
|
22
|
+
|
|
23
|
+
## License
|
|
24
|
+
|
|
25
|
+
MIT
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeWebview = require("react-native-webview");
|
|
10
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
|
+
const Omnipay = _ref => {
|
|
13
|
+
let {
|
|
14
|
+
color,
|
|
15
|
+
env,
|
|
16
|
+
publicKey,
|
|
17
|
+
phoneNumber,
|
|
18
|
+
view
|
|
19
|
+
} = _ref;
|
|
20
|
+
function getWebHost() {
|
|
21
|
+
if (env === 'dev') {
|
|
22
|
+
return 'https://omnipaysdk.vercel.app/';
|
|
23
|
+
}
|
|
24
|
+
return 'https://sdk.omnipay.ng/';
|
|
25
|
+
}
|
|
26
|
+
const webHost = getWebHost();
|
|
27
|
+
const webUrl = `${webHost}?theme=${color}&view=${view}&publicKey=${publicKey}&phoneNumber=${phoneNumber}`;
|
|
28
|
+
return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.Text, null, webUrl), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
29
|
+
style: styles.full
|
|
30
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNativeWebview.WebView, {
|
|
31
|
+
source: {
|
|
32
|
+
uri: 'https://omnipaydashboarddev.z6.web.core.windows.net/app/dashboard'
|
|
33
|
+
},
|
|
34
|
+
style: styles.full
|
|
35
|
+
})));
|
|
36
|
+
};
|
|
37
|
+
const styles = _reactNative.StyleSheet.create({
|
|
38
|
+
full: {
|
|
39
|
+
flex: 1,
|
|
40
|
+
width: '100%',
|
|
41
|
+
height: '100%'
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
var _default = Omnipay;
|
|
45
|
+
exports.default = _default;
|
|
46
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Omnipay","color","env","publicKey","phoneNumber","view","getWebHost","webHost","webUrl","styles","full","uri","StyleSheet","create","flex","width","height"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;AAAA;AACA;AACA;AAA+C;AAAA;AAU/C,MAAMA,OAAO,GAAG,QAMiB;EAAA,IANhB;IACfC,KAAK;IACLC,GAAG;IACHC,SAAS;IACTC,WAAW;IACXC;EACY,CAAC;EACb,SAASC,UAAU,GAAG;IACpB,IAAIJ,GAAG,KAAK,KAAK,EAAE;MACjB,OAAO,gCAAgC;IACzC;IACA,OAAO,yBAAyB;EAClC;EAEA,MAAMK,OAAO,GAAGD,UAAU,EAAE;EAC5B,MAAME,MAAM,GAAI,GAAED,OAAQ,UAASN,KAAM,SAAQI,IAAK,cAAaF,SAAU,gBAAeC,WAAY,EAAC;EAEzG,oBACE,6BAAC,eAAQ,qBACP,6BAAC,iBAAI,QAAEI,MAAM,CAAQ,eACrB,6BAAC,iBAAI;IAAC,KAAK,EAAEC,MAAM,CAACC;EAAK,gBACvB,6BAAC,2BAAO;IACN,MAAM,EAAE;MACNC,GAAG,EAAE;IACP,CAAE;IACF,KAAK,EAAEF,MAAM,CAACC;EAAK,EACnB,CACG,CACE;AAEf,CAAC;AAED,MAAMD,MAAM,GAAGG,uBAAU,CAACC,MAAM,CAAC;EAC/BH,IAAI,EAAE;IACJI,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE;EACV;AACF,CAAC,CAAC;AAAC,eAEYhB,OAAO;AAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React, { Fragment } from 'react';
|
|
2
|
+
import { StyleSheet, Text, View } from 'react-native';
|
|
3
|
+
import { WebView } from 'react-native-webview';
|
|
4
|
+
const Omnipay = _ref => {
|
|
5
|
+
let {
|
|
6
|
+
color,
|
|
7
|
+
env,
|
|
8
|
+
publicKey,
|
|
9
|
+
phoneNumber,
|
|
10
|
+
view
|
|
11
|
+
} = _ref;
|
|
12
|
+
function getWebHost() {
|
|
13
|
+
if (env === 'dev') {
|
|
14
|
+
return 'https://omnipaysdk.vercel.app/';
|
|
15
|
+
}
|
|
16
|
+
return 'https://sdk.omnipay.ng/';
|
|
17
|
+
}
|
|
18
|
+
const webHost = getWebHost();
|
|
19
|
+
const webUrl = `${webHost}?theme=${color}&view=${view}&publicKey=${publicKey}&phoneNumber=${phoneNumber}`;
|
|
20
|
+
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Text, null, webUrl), /*#__PURE__*/React.createElement(View, {
|
|
21
|
+
style: styles.full
|
|
22
|
+
}, /*#__PURE__*/React.createElement(WebView, {
|
|
23
|
+
source: {
|
|
24
|
+
uri: 'https://omnipaydashboarddev.z6.web.core.windows.net/app/dashboard'
|
|
25
|
+
},
|
|
26
|
+
style: styles.full
|
|
27
|
+
})));
|
|
28
|
+
};
|
|
29
|
+
const styles = StyleSheet.create({
|
|
30
|
+
full: {
|
|
31
|
+
flex: 1,
|
|
32
|
+
width: '100%',
|
|
33
|
+
height: '100%'
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
export default Omnipay;
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Fragment","StyleSheet","Text","View","WebView","Omnipay","color","env","publicKey","phoneNumber","view","getWebHost","webHost","webUrl","styles","full","uri","create","flex","width","height"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,OAAO,QAAQ,sBAAsB;AAU9C,MAAMC,OAAO,GAAG,QAMiB;EAAA,IANhB;IACfC,KAAK;IACLC,GAAG;IACHC,SAAS;IACTC,WAAW;IACXC;EACY,CAAC;EACb,SAASC,UAAU,GAAG;IACpB,IAAIJ,GAAG,KAAK,KAAK,EAAE;MACjB,OAAO,gCAAgC;IACzC;IACA,OAAO,yBAAyB;EAClC;EAEA,MAAMK,OAAO,GAAGD,UAAU,EAAE;EAC5B,MAAME,MAAM,GAAI,GAAED,OAAQ,UAASN,KAAM,SAAQI,IAAK,cAAaF,SAAU,gBAAeC,WAAY,EAAC;EAEzG,oBACE,oBAAC,QAAQ,qBACP,oBAAC,IAAI,QAAEI,MAAM,CAAQ,eACrB,oBAAC,IAAI;IAAC,KAAK,EAAEC,MAAM,CAACC;EAAK,gBACvB,oBAAC,OAAO;IACN,MAAM,EAAE;MACNC,GAAG,EAAE;IACP,CAAE;IACF,KAAK,EAAEF,MAAM,CAACC;EAAK,EACnB,CACG,CACE;AAEf,CAAC;AAED,MAAMD,MAAM,GAAGb,UAAU,CAACgB,MAAM,CAAC;EAC/BF,IAAI,EAAE;IACJG,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE;EACV;AACF,CAAC,CAAC;AAEF,eAAef,OAAO"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare type OmnipayProps = {
|
|
2
|
+
color: string;
|
|
3
|
+
env: 'dev' | 'prod';
|
|
4
|
+
publicKey: string;
|
|
5
|
+
phoneNumber: string;
|
|
6
|
+
view: 'bills';
|
|
7
|
+
};
|
|
8
|
+
declare const Omnipay: ({ color, env, publicKey, phoneNumber, view, }: OmnipayProps) => JSX.Element;
|
|
9
|
+
export default Omnipay;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAIA,aAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,KAAK,GAAG,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,QAAA,MAAM,OAAO,kDAMV,YAAY,KAAG,WAwBjB,CAAC;AAUF,eAAe,OAAO,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "omnipay-reactnative-sdk",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Omnipay react native sdk",
|
|
5
|
+
"main": "lib/commonjs/index",
|
|
6
|
+
"module": "lib/module/index",
|
|
7
|
+
"types": "lib/typescript/index.d.ts",
|
|
8
|
+
"react-native": "src/index",
|
|
9
|
+
"source": "src/index",
|
|
10
|
+
"files": [
|
|
11
|
+
"src",
|
|
12
|
+
"lib",
|
|
13
|
+
"android",
|
|
14
|
+
"ios",
|
|
15
|
+
"cpp",
|
|
16
|
+
"*.podspec",
|
|
17
|
+
"!lib/typescript/example",
|
|
18
|
+
"!ios/build",
|
|
19
|
+
"!android/build",
|
|
20
|
+
"!android/gradle",
|
|
21
|
+
"!android/gradlew",
|
|
22
|
+
"!android/gradlew.bat",
|
|
23
|
+
"!android/local.properties",
|
|
24
|
+
"!**/__tests__",
|
|
25
|
+
"!**/__fixtures__",
|
|
26
|
+
"!**/__mocks__",
|
|
27
|
+
"!**/.*"
|
|
28
|
+
],
|
|
29
|
+
"scripts": {
|
|
30
|
+
"test": "jest",
|
|
31
|
+
"typescript": "tsc --noEmit",
|
|
32
|
+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
33
|
+
"prepare": "bob build",
|
|
34
|
+
"release": "release-it",
|
|
35
|
+
"example": "yarn --cwd example",
|
|
36
|
+
"bootstrap": "yarn example && yarn install && yarn example pods"
|
|
37
|
+
},
|
|
38
|
+
"keywords": [
|
|
39
|
+
"react-native",
|
|
40
|
+
"ios",
|
|
41
|
+
"android"
|
|
42
|
+
],
|
|
43
|
+
"repository": "https://github.com/engrtitus/omnipay-reactnative-sdk",
|
|
44
|
+
"author": "engrtitus <titus.salisu@omnibiz.com> (https://engrtitus.tech)",
|
|
45
|
+
"license": "MIT",
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/engrtitus/omnipay-reactnative-sdk/issues"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://github.com/engrtitus/omnipay-reactnative-sdk#readme",
|
|
50
|
+
"publishConfig": {
|
|
51
|
+
"registry": "https://registry.npmjs.org/"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@arkweid/lefthook": "^0.7.7",
|
|
55
|
+
"@commitlint/config-conventional": "^17.0.2",
|
|
56
|
+
"@react-native-community/eslint-config": "^3.0.2",
|
|
57
|
+
"@release-it/conventional-changelog": "^5.0.0",
|
|
58
|
+
"@types/jest": "^28.1.2",
|
|
59
|
+
"@types/react": "~17.0.21",
|
|
60
|
+
"@types/react-native": "0.68.0",
|
|
61
|
+
"commitlint": "^17.0.2",
|
|
62
|
+
"eslint": "^8.4.1",
|
|
63
|
+
"eslint-config-prettier": "^8.5.0",
|
|
64
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
65
|
+
"jest": "^28.1.1",
|
|
66
|
+
"pod-install": "^0.1.0",
|
|
67
|
+
"prettier": "^2.0.5",
|
|
68
|
+
"react": "18.1.0",
|
|
69
|
+
"react-native": "0.70.3",
|
|
70
|
+
"react-native-builder-bob": "^0.20.0",
|
|
71
|
+
"react-native-webview": "^11.23.1",
|
|
72
|
+
"release-it": "^15.0.0",
|
|
73
|
+
"typescript": "^4.5.2"
|
|
74
|
+
},
|
|
75
|
+
"resolutions": {
|
|
76
|
+
"@types/react": "17.0.21"
|
|
77
|
+
},
|
|
78
|
+
"peerDependencies": {
|
|
79
|
+
"react": "*",
|
|
80
|
+
"react-native": "*"
|
|
81
|
+
},
|
|
82
|
+
"jest": {
|
|
83
|
+
"preset": "react-native",
|
|
84
|
+
"modulePathIgnorePatterns": [
|
|
85
|
+
"<rootDir>/example/node_modules",
|
|
86
|
+
"<rootDir>/lib/"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"commitlint": {
|
|
90
|
+
"extends": [
|
|
91
|
+
"@commitlint/config-conventional"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"release-it": {
|
|
95
|
+
"git": {
|
|
96
|
+
"commitMessage": "chore: release ${version}",
|
|
97
|
+
"tagName": "v${version}"
|
|
98
|
+
},
|
|
99
|
+
"npm": {
|
|
100
|
+
"publish": true
|
|
101
|
+
},
|
|
102
|
+
"github": {
|
|
103
|
+
"release": true
|
|
104
|
+
},
|
|
105
|
+
"plugins": {
|
|
106
|
+
"@release-it/conventional-changelog": {
|
|
107
|
+
"preset": "angular"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"eslintConfig": {
|
|
112
|
+
"root": true,
|
|
113
|
+
"extends": [
|
|
114
|
+
"@react-native-community",
|
|
115
|
+
"prettier"
|
|
116
|
+
],
|
|
117
|
+
"rules": {
|
|
118
|
+
"prettier/prettier": [
|
|
119
|
+
"error",
|
|
120
|
+
{
|
|
121
|
+
"quoteProps": "consistent",
|
|
122
|
+
"singleQuote": true,
|
|
123
|
+
"tabWidth": 2,
|
|
124
|
+
"trailingComma": "es5",
|
|
125
|
+
"useTabs": false
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"eslintIgnore": [
|
|
131
|
+
"node_modules/",
|
|
132
|
+
"lib/"
|
|
133
|
+
],
|
|
134
|
+
"prettier": {
|
|
135
|
+
"quoteProps": "consistent",
|
|
136
|
+
"singleQuote": true,
|
|
137
|
+
"tabWidth": 2,
|
|
138
|
+
"trailingComma": "es5",
|
|
139
|
+
"useTabs": false
|
|
140
|
+
},
|
|
141
|
+
"react-native-builder-bob": {
|
|
142
|
+
"source": "src",
|
|
143
|
+
"output": "lib",
|
|
144
|
+
"targets": [
|
|
145
|
+
"commonjs",
|
|
146
|
+
"module",
|
|
147
|
+
[
|
|
148
|
+
"typescript",
|
|
149
|
+
{
|
|
150
|
+
"project": "tsconfig.build.json"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
}
|
package/src/index.tsx
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React, { Fragment } from 'react';
|
|
2
|
+
import { StyleSheet, Text, View } from 'react-native';
|
|
3
|
+
import { WebView } from 'react-native-webview';
|
|
4
|
+
|
|
5
|
+
type OmnipayProps = {
|
|
6
|
+
color: string;
|
|
7
|
+
env: 'dev' | 'prod';
|
|
8
|
+
publicKey: string;
|
|
9
|
+
phoneNumber: string;
|
|
10
|
+
view: 'bills';
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const Omnipay = ({
|
|
14
|
+
color,
|
|
15
|
+
env,
|
|
16
|
+
publicKey,
|
|
17
|
+
phoneNumber,
|
|
18
|
+
view,
|
|
19
|
+
}: OmnipayProps): JSX.Element => {
|
|
20
|
+
function getWebHost() {
|
|
21
|
+
if (env === 'dev') {
|
|
22
|
+
return 'https://omnipaysdk.vercel.app/';
|
|
23
|
+
}
|
|
24
|
+
return 'https://sdk.omnipay.ng/';
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const webHost = getWebHost();
|
|
28
|
+
const webUrl = `${webHost}?theme=${color}&view=${view}&publicKey=${publicKey}&phoneNumber=${phoneNumber}`;
|
|
29
|
+
|
|
30
|
+
return (
|
|
31
|
+
<Fragment>
|
|
32
|
+
<Text>{webUrl}</Text>
|
|
33
|
+
<View style={styles.full}>
|
|
34
|
+
<WebView
|
|
35
|
+
source={{
|
|
36
|
+
uri: 'https://omnipaydashboarddev.z6.web.core.windows.net/app/dashboard',
|
|
37
|
+
}}
|
|
38
|
+
style={styles.full}
|
|
39
|
+
/>
|
|
40
|
+
</View>
|
|
41
|
+
</Fragment>
|
|
42
|
+
);
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const styles = StyleSheet.create({
|
|
46
|
+
full: {
|
|
47
|
+
flex: 1,
|
|
48
|
+
width: '100%',
|
|
49
|
+
height: '100%',
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export default Omnipay;
|