import type { InputProps } from 'antd'; import { Form, Input as AntInput } from 'antd'; import type { ChangeEvent, FC } from 'react'; import type { BaseElementProps } from './types'; const { Item: FormItem } = Form; export default (function Input({ value, setValue, status, isValid, help, ...props }: BaseElementProps) { function handleChange(e: ChangeEvent) { setValue(e.target.value); } return ( ); } as FC);