boxpay-checkout-reactnative-sdk
Version:
Boxpay Payment Gateway
44 lines (43 loc) • 1.01 kB
JavaScript
"use strict";
import { View, Text, Image } from 'react-native';
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
const MorePaymentContainer = ({
title,
image
}) => {
return /*#__PURE__*/_jsxs(View, {
style: {
flex: 1,
flexDirection: 'row',
backgroundColor: 'white',
alignItems: 'center'
},
children: [/*#__PURE__*/_jsx(Image, {
source: image,
style: {
width: 32,
height: 32
}
}), /*#__PURE__*/_jsx(Text, {
style: {
fontSize: 14,
fontFamily: 'Poppins-Medium',
marginLeft: 12
},
children: title
}), /*#__PURE__*/_jsx(Image, {
source: require('../../assets/images/chervon-down.png'),
style: {
alignSelf: 'center',
height: 6,
width: 14,
marginLeft: 'auto',
transform: [{
rotate: '270deg'
}]
}
})]
});
};
export default MorePaymentContainer;
//# sourceMappingURL=morePaymentContainer.js.map