iamport-react-native
Version:
리액트 네이티브용 아임포트 결제/본인인증 연동 라이브러리
43 lines • 976 B
JavaScript
import React from 'react';
import { View, Image, Text, StyleSheet } from 'react-native';
const logo = require('../../img/iamport-logo.png');
function ErrorOnParams({
message
}) {
return /*#__PURE__*/React.createElement(View, {
style: styles.container
}, /*#__PURE__*/React.createElement(Image, {
source: logo
}), /*#__PURE__*/React.createElement(Text, {
style: styles.text
}, message));
}
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center'
},
text: {
textAlign: 'center',
fontSize: 16,
marginTop: 20,
lineHeight: 25
},
button: {
backgroundColor: '#fff',
color: '#ff0000',
borderColor: '#333',
borderWidth: 1,
borderRadius: 3,
paddingTop: 10,
paddingBottom: 10,
paddingLeft: 20,
paddingRight: 20,
fontSize: 14,
marginTop: 20,
fontWeight: 'bold'
}
});
export default ErrorOnParams;
//# sourceMappingURL=index.js.map