diff --git a/web/app/components/base/prompt-editor/plugins/hitl-input-block/input-field.tsx b/web/app/components/base/prompt-editor/plugins/hitl-input-block/input-field.tsx new file mode 100644 index 0000000000..972982cacb --- /dev/null +++ b/web/app/components/base/prompt-editor/plugins/hitl-input-block/input-field.tsx @@ -0,0 +1,31 @@ +import React from 'react' +import Input from '@/app/components/base/input' +import Button from '@/app/components/base/button' +import Tooltip from '@/app/components/base/tooltip' +import { RiSendPlaneLine } from '@remixicon/react' + +const InputField: React.FC = () => { + return ( +
+ {/* Input Field */} +
+ + + + +
+ + {/* Additional Info */} +

+ Please provide the required information. +

+
+ ) +} + +export default InputField diff --git a/web/app/components/base/prompt-editor/plugins/hitl-input-block/test-page.tsx b/web/app/components/base/prompt-editor/plugins/hitl-input-block/test-page.tsx new file mode 100644 index 0000000000..7fdcc935b3 --- /dev/null +++ b/web/app/components/base/prompt-editor/plugins/hitl-input-block/test-page.tsx @@ -0,0 +1,15 @@ +import React from 'react' +import InputField from './input-field' + +const TestPage: React.FC = () => { + return ( +
+
+

Test Input Field

+ +
+
+ ) +} + +export default TestPage diff --git a/web/app/test/page.tsx b/web/app/test/page.tsx new file mode 100644 index 0000000000..bb46f27ae6 --- /dev/null +++ b/web/app/test/page.tsx @@ -0,0 +1,11 @@ +'use client' + +import InputField from '@/app/components/base/prompt-editor/plugins/hitl-input-block/input-field' + +const Page = () => { + return ( + + ) +} + +export default Page