Files
eip4-web/src/pages/ReferencePicker.tsx

12 lines
351 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 占位(Task 17 实现引用列选择器)。
export function ReferencePicker(props: { value: string; onChange: (t: string) => void }) {
return (
<input
data-testid="field-ref-table"
value={props.value}
onChange={(e) => props.onChange(e.target.value)}
placeholder="目标表(Task 17 改为下拉)"
/>
);
}