import * as React from "react"; import { ChangeEvent, Component, FocusEvent, ReactNode } from "react"; import { Input } from "antd"; export class TextInput extends Component<{ value: string; max_length: number; on_change: (e: ChangeEvent) => void; on_blur?: (e: FocusEvent) => void; }> { render(): ReactNode { return ( ); } }