diff --git a/.env.example b/.env.example index 5de7870a3..46168483a 100644 --- a/.env.example +++ b/.env.example @@ -9,4 +9,6 @@ RN_MAILCHIMP_API_KEY="a-key" RN_MAILCHIMP_LIST_ID="a-list-id" RN_MAILCHIMP_WAITLIST_ID="a-list-id" RN_PEER_SWAP="https://" -RN_RELEASE_TYPE="dev" \ No newline at end of file +RN_RELEASE_TYPE="dev" +RN_IOS_STORE_LINK="https://" +RN_ANDROID_STORE_LINK="https://" \ No newline at end of file diff --git a/App/Components/Button.tsx b/App/Components/Button.tsx index 38d28922e..9efa6b332 100644 --- a/App/Components/Button.tsx +++ b/App/Components/Button.tsx @@ -1,12 +1,13 @@ -import React from 'react' +import React, { Component } from 'react' import { Text, TouchableOpacity, ViewStyle, TextStyle, ActivityIndicator } from 'react-native' +import RoundedCornersView from './RoundedCornersView' + const BUTTON: ViewStyle = { - backgroundColor: '#2625FF', - minWidth: 300, - paddingVertical: 18, - paddingHorizontal: 65, - borderRadius: 6 + backgroundColor: '#2625FF' + // minWidth: 300, + // paddingVertical: 18, + // paddingHorizontal: 65 } const BUTTON_TEXT: TextStyle = { @@ -33,13 +34,15 @@ const button = (props: Props) => { const { onPress, disabled, text, style, textStyle, processing } = props return ( - - {processing && - - } - {!processing && - {text} - } + + + {processing && + + } + {!processing && + {text} + } + ) } diff --git a/App/Components/LargeButton.tsx b/App/Components/LargeButton.tsx new file mode 100644 index 000000000..b7036653a --- /dev/null +++ b/App/Components/LargeButton.tsx @@ -0,0 +1,39 @@ +import React from 'react' +import { ViewStyle } from 'react-native' +import Button from './Button' +import * as s from '../Themes/Constants' + +interface Props { + text: string + style?: ViewStyle + disabled?: boolean + processing?: boolean + onPress?: () => void +} + +const button = (props: Props) => { + const { text, onPress, style, processing } = props + return ( +