stripe-react-native-apple-pay
Version:
React Native wrapper around Stripe Apple Pay
31 lines (28 loc) • 551 B
text/typescript
import type { StyleProp, ViewStyle } from 'react-native';
export interface NativeProps {
style?: StyleProp<ViewStyle>;
disabled?: boolean;
type?: number;
buttonStyle?: number;
borderRadius?: number;
onPressAction?(): void;
}
export type Type =
| 'plain'
| 'buy'
| 'setUp'
| 'inStore'
| 'donate'
| 'checkout'
| 'book'
| 'subscribe'
| 'reload'
| 'addMoney'
| 'topUp'
| 'order'
| 'rent'
| 'support'
| 'contribute'
| 'tip'
| 'continue';
export type Style = 'white' | 'whiteOutline' | 'black' | 'automatic';