import React from 'react';
import { Image, StyleSheet, TouchableOpacity, View } from 'react-native';
import { ApplePayButtonBase } from './ApplePayButtonBase';
const PLACEHOLDER_APPLE_PAY_IMAGE = require('../../../assets/images/applePayWhite.png');
const styles = StyleSheet.create({
    touchable: {
        justifyContent: 'center',
        alignItems: 'center'
    }
});
export class ApplePayButton extends ApplePayButtonBase {
    componentDidMount() {
        this.setState({
            showPayButton: true
        });
    }
    render() {
        return (<View style={this.props.style}>
        <TouchableOpacity onPress={this.props.applePayOnPress} style={[styles.touchable]}>
          <Image source={PLACEHOLDER_APPLE_PAY_IMAGE}/>
        </TouchableOpacity>
      </View>);
    }
}
//# sourceMappingURL=ApplePayButton.ios.js.map