Fakultas Ilmu Komputer UI

index.tsx 648 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React, { FC } from 'react';
import { View } from 'react-native';
import { useNavigation } from '@react-navigation/native';

import * as ROUTES from 'constants/routes';
import { EmptyDataPage, BigButton } from 'components/core';
import { styles } from './styles';

const AllCartsExpiredPage: FC = () => {
  const navigation = useNavigation();

  return (
    <View style={styles.center}>
      <EmptyDataPage text="Program diet Anda telah selesai!" />
      <BigButton
        title="konsultasi lagi"
        onPress={() => navigation.navigate(ROUTES.allAccessQuestionnaire)}
      />
    </View>
  );
};

export default AllCartsExpiredPage;