|
@@ -1,14 +1,14 @@
|
|
|
-import React, { useState } from 'react';
|
|
|
+import React, { FC, useState } from 'react';
|
|
|
import { View } from 'react-native';
|
|
|
+import { NavigationProp } from '@react-navigation/native';
|
|
|
|
|
|
-import PageWrapper from '../../../components/PageWrapper';
|
|
|
-import Header from '../../../components/Header';
|
|
|
-import BigText from '../../../components/BigText';
|
|
|
-import Input from '../../../components/Input';
|
|
|
-import Button from '../../../components/Button';
|
|
|
-import CheckBox from '../../../components/CheckBox';
|
|
|
+import { PageWrapper, Header, Button, BigText, CheckBox, Input } from '../../../components';
|
|
|
|
|
|
-const JoinUsScreen = () => {
|
|
|
+type Props = {
|
|
|
+ navigation: NavigationProp<any>;
|
|
|
+};
|
|
|
+
|
|
|
+const JoinUsScreen: FC<Props> = ({ navigation }) => {
|
|
|
const [agreed, setAgreed] = useState(false);
|
|
|
|
|
|
return (
|