Skip to content

Commit beb9470

Browse files
committed
Merge branch 'dev' of github.com:sunxfancy/SSUI into dev
2 parents cb6834e + 5f6c546 commit beb9470

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/ssui_components/src/components/Base/StringEditor.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import styles from './test.module.css'
44

55
export class StringEditor extends IComponent<{}, { textContent: string }> {
66
render(): ReactNode {
7-
return <Text className={styles.normal}>String Editor</Text>
7+
return <input type="text" className={styles.normal}></input>
88
}
99

1010
onExecute(): any {
@@ -22,6 +22,6 @@ import { ReactNode } from 'react';
2222
// Register into the component manager
2323
import { registerComponent, ComponentRegister } from '../ComponentsManager';
2424
[
25-
{ 'name': 'StringEditor', 'type': 'string', 'port': 'input', 'component': StringEditor } as ComponentRegister,
26-
{ 'name': 'StringPreview', 'type': 'string', 'port': 'output', 'component': StringPreview } as ComponentRegister
25+
{ 'name': 'StringEditor', 'type': 'builtins.str', 'port': 'input', 'component': StringEditor } as ComponentRegister,
26+
{ 'name': 'StringPreview', 'type': 'builtins.str', 'port': 'output', 'component': StringPreview } as ComponentRegister
2727
].forEach(registerComponent);

0 commit comments

Comments
 (0)