import React from "react";
declare type Props = {
    readonly name: string;
    readonly value: string;
    readonly error?: string;
    readonly label?: string;
    readonly left?: JSX.Element;
    readonly leftWidth?: string;
    readonly right?: JSX.Element;
    readonly rightWidth?: string;
    readonly onChange: (name: string, value: string) => void;
    readonly [key: string]: any;
};
export declare const TextInput: React.MemoExoticComponent<({ name, value, error, label, left, leftWidth, right, rightWidth, onChange, ...rest }: Props) => JSX.Element>;
export {};
