dify/web/app/components/share/text-generation/no-data/index.tsx
Stephen Zhou a84c2d36a3
style: format with vp fmt (#38803)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-12 15:57:46 +00:00

19 lines
609 B
TypeScript

import type { FC } from 'react'
import { RiSparklingFill } from '@remixicon/react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
type INoDataProps = {}
const NoData: FC<INoDataProps> = () => {
const { t } = useTranslation()
return (
<div className="flex size-full flex-col items-center justify-center">
<RiSparklingFill className="size-12 text-text-empty-state-icon" />
<div className="mt-2 system-sm-regular text-text-quaternary">
{t(($) => $['generation.noData'], { ns: 'share' })}
</div>
</div>
)
}
export default React.memo(NoData)