import React from 'react'; import { Flex, Box, FlexProps } from '@chakra-ui/react'; import MyIcon from '../Icon'; import { useTranslation } from 'next-i18next'; type Props = FlexProps & { text?: string | React.ReactNode; }; const EmptyTip = ({ text, ...props }: Props) => { const { t } = useTranslation(); return ( {text || t('common:common.empty.Common Tip')} ); }; export default EmptyTip;