import classNames from 'classnames'; type TextControlProps = { className?: string; inputClassName?: string; defaultValue: any; children?: React.ReactNode; onChange?: (value: string) => void; onClick?: () => void; readOnly?: boolean; }; export const TextControl = ({ onClick, onChange, className, defaultValue, children, inputClassName, readOnly, }: TextControlProps) => { return (