aboutsummaryrefslogtreecommitdiff
path: root/src/components/onboarding/TermsConditions.tsx
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-10-20 14:49:29 -0700
committerGitHub <noreply@github.com>2020-10-20 17:49:29 -0400
commit08f9aebbaef871629323767c93c9e54cea527bed (patch)
treecbab9db0fc50e49e718497f72c6a65143a44253c /src/components/onboarding/TermsConditions.tsx
parent88fb33d1fe1cd0785e4a92cb3c20d0fafb2da54d (diff)
[TMA - 278] Add actual Terms And Conditions text (#60)
* Styled and added ToC * Bolded some content
Diffstat (limited to 'src/components/onboarding/TermsConditions.tsx')
-rw-r--r--src/components/onboarding/TermsConditions.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/onboarding/TermsConditions.tsx b/src/components/onboarding/TermsConditions.tsx
index 5af1b972..c653e63f 100644
--- a/src/components/onboarding/TermsConditions.tsx
+++ b/src/components/onboarding/TermsConditions.tsx
@@ -11,7 +11,7 @@ import {
} from 'react-native';
import {RadioCheckbox, CenteredView, OverlayView} from '../common';
-import {dummyTermsConditions} from '../../constants';
+import TermsAndConditionsText from './TermsAndConditionsText';
interface TermsConditionsProps extends ViewProps {
accepted: boolean;
@@ -66,7 +66,7 @@ const TermsConditions: React.FC<TermsConditionsProps> = (props) => {
style={styles.modalScrollView}
contentContainerStyle={styles.modalScrollViewContent}>
<Text style={styles.tcHeader}>Terms and Conditions</Text>
- <Text>{dummyTermsConditions}</Text>
+ <TermsAndConditionsText />
</ScrollView>
<View style={styles.modalActions}>
<Button title="Accept" onPress={handleAccept} />