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