UNPKG

iamport-react-native

Version:

리액트 네이티브용 아임포트 결제/본인인증 연동 라이브러리

47 lines (46 loc) 1.02 kB
"use strict"; import { Image, StyleSheet, Text, View } from 'react-native'; import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; const logo = require('../../img/iamport-logo.png'); function ErrorOnParams({ message }) { return /*#__PURE__*/_jsxs(View, { style: styles.container, children: [/*#__PURE__*/_jsx(Image, { source: logo }), /*#__PURE__*/_jsx(Text, { style: styles.text, children: 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