Fakultas Ilmu Komputer UI

index.tsx 488 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import React, { FC } from 'react';

import { styles } from './styles';
import { View } from 'react-native';
import { Text, Icon } from 'react-native-elements';

import { colors } from 'styles';

interface Props {
  text: string;
}

const EmptyDataPage: FC<Props> = ({ text }) => (
  <View style={styles.center}>
15
    <Icon name="smile" type="feather" size={75} color={colors.primaryVariant} />
16
17
18
19
20
    <Text style={styles.noRecomText}>{text}</Text>
  </View>
);

export default EmptyDataPage;