import { View, Text } from "@tarojs/components"; import './no_data.scss' import { useTranslation } from "react-i18next"; import NewButton, { NewButtonType } from "../base/new_button"; import { rpxToPx } from "@/utils/tools"; import { MainColorType } from "@/context/themes/color"; import { IconError } from "@/components/basic/Icons"; export default function NoData(props: { refresh: Function }) { const { t } = useTranslation() return {t('feature.common.no_data.title')} {/* check your network connection and try again */} }