chore: no data placeholder
parent
219c96aee1
commit
98c70ff86d
@ -0,0 +1,20 @@
|
|||||||
|
'use client'
|
||||||
|
import { Generator } from '@/app/components/base/icons/src/vender/other'
|
||||||
|
import Link from 'next/link'
|
||||||
|
import type { FC } from 'react'
|
||||||
|
import React from 'react'
|
||||||
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
|
const ResPlaceholder: FC = () => {
|
||||||
|
const { t } = useTranslation()
|
||||||
|
return (
|
||||||
|
<div className='flex h-full w-0 grow flex-col items-center justify-center space-y-3 px-8'>
|
||||||
|
<Generator className='size-8 text-text-quaternary' />
|
||||||
|
<div className='text-center text-[13px] font-normal leading-5 text-text-tertiary'>
|
||||||
|
<div>{t('appDebug.generate.newNoDataLine1')}</div>
|
||||||
|
<Link className='text-text-accent' href='//todo' target='_blank'>{t('appDebug.generate.newNoDataLine2')}</Link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
export default React.memo(ResPlaceholder)
|
||||||
Loading…
Reference in New Issue