mirror of
https://github.com/langgenius/dify.git
synced 2026-07-25 05:28:35 +08:00
17 lines
498 B
TypeScript
17 lines
498 B
TypeScript
import { useTranslation } from 'react-i18next'
|
|
|
|
const SnippetEmptyState = () => {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<div className="flex min-h-120 flex-col items-center justify-center gap-2 px-4">
|
|
<span className="i-custom-vender-line-others-search-menu h-8 w-8 text-text-tertiary" />
|
|
<div className="system-sm-regular text-text-secondary">
|
|
{t(($) => $['tabs.noSnippetsFound'], { ns: 'workflow' })}
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default SnippetEmptyState
|