mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 17:38:04 +08:00
feat: var assigner node struct
This commit is contained in:
16
web/app/components/workflow/nodes/variable-assigner/node.tsx
Normal file
16
web/app/components/workflow/nodes/variable-assigner/node.tsx
Normal file
@ -0,0 +1,16 @@
|
||||
import type { FC } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
// import { mockData } from './mock'
|
||||
const i18nPrefix = 'workflow.nodes.variableAssigner'
|
||||
|
||||
const Node: FC = () => {
|
||||
const { t } = useTranslation()
|
||||
// const { variables } = mockData
|
||||
return (
|
||||
<div className='px-3'>
|
||||
<div className='leading-4 text-xs font-medium text-gray-500 uppercase'>{t(`${i18nPrefix}.title`)}</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Node
|
||||
Reference in New Issue
Block a user