dify/web/app/components/workflow/block-selector/snippets/snippet-empty-state.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

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