-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathZipWidget.js
More file actions
31 lines (27 loc) · 817 Bytes
/
ZipWidget.js
File metadata and controls
31 lines (27 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import React from 'react'
import { requireNativeComponent, StyleSheet } from 'react-native'
function ZipWidget({merchantId,size,alignment,amount,min,max,colorPrice,logoOption,logoSize,displayMode,minModal,isMFPPMerchant,learnMoreUrl}) {
return <RNZipWidget style={styles.ZipWidget}
merchantId = {merchantId}
size = {size}
alignment={alignment}
amount={amount}
min={min}
max={max}
colorPrice={colorPrice}
logoOption={logoOption}
logoSize = {logoSize}
displayMode = {displayMode}
minModal = {minModal}
isMFPPMerchant = {isMFPPMerchant}
learnMoreUrl = {learnMoreUrl}
/>
}
const styles = StyleSheet.create({
ZipWidget:{
height: 100,
width: '90%',
}
})
var RNZipWidget = requireNativeComponent('RNQuadPayWidget',ZipWidget);
export default ZipWidget;