/** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ import React from 'react'; import { createInferAssignPlugin } from '@flowgram.ai/form-materials'; import { FreeFormMetaStoryBuilder, FormHeader } from '../../free-form-meta-story-builder'; const AssignRows = React.lazy(() => import('@flowgram.ai/form-materials').then((module) => ({ default: module.AssignRows, })) ); const DisplayOutputs = React.lazy(() => import('@flowgram.ai/form-materials').then((module) => ({ default: module.DisplayOutputs, })) ); export const BasicStory = () => ( { node.data.inputsValues = { info: { type: 'ref', content: ['custom_0', 'userInfo'], }, }; return node; }, }} formMeta={{ render: () => ( <> ), plugins: [ createInferAssignPlugin({ assignKey: 'assign', outputKey: 'outputs', }), ], }} /> );