import React, { memo } from 'react';
import { View } from 'react-native';
import { wp } from '@/utils/ui/screenUtils';
import { Image } from 'tamagui';
import CustomText from '@/components/common/CustomText.jsx';
import { useTranslation } from 'react-i18next';

const ApproveEmpty = ({ title, style }) => {
  const { t } = useTranslation();
  return (
    <View style={[{ paddingTop: wp(60), alignItems: 'center', justifyContent: 'center' }, style]}>
      <Image width={wp(238)} height={wp(120)} source={require('@/assets/images/approve/5424.png')} />
      <CustomText style={{ color: '#999999', fontSize: wp(12) }}>{t('approve:empty.subtitle')}</CustomText>
    </View>
  );
};

export default memo(ApproveEmpty);
