UNPKG

connect-transfer-react-native-sdk

Version:

Connect Transfer React Native SDK for Mastercard Open Banking Connect

26 lines (25 loc) 622 B
"use strict"; import { Text, TouchableOpacity } from 'react-native'; import { MAButtonStyle as styles } from './ComponentStyles'; import { jsx as _jsx } from "react/jsx-runtime"; const MAButton = props => { const { text, onPress, style, textStyle, testID } = props; return /*#__PURE__*/_jsx(TouchableOpacity, { style: [styles.button, style], activeOpacity: 0.7, onPress: onPress, testID: testID, children: /*#__PURE__*/_jsx(Text, { style: [styles.buttonText, textStyle], children: text }) }); }; export default MAButton; //# sourceMappingURL=MAButton.js.map