import { LabelProps } from "../Label"; import React from "react"; export type TextInputProps = Omit, "onChange"> & { fullwidth?: boolean; error?: boolean; label?: string; value?: string; onChange?: (e: React.ChangeEvent) => void; inputId?: string; disabled?: boolean; placeholder?: string; inputProps?: React.InputHTMLAttributes; containerProps?: React.HTMLAttributes; labelProps?: LabelProps; sideItem?: React.ReactNode; sideItemPosition?: "left" | "right"; removeBorder?: boolean; readOnly?: boolean; }; export default function TextInput({ fullwidth, error, label, inputProps, labelProps, className, value, onChange, inputId, placeholder, disabled, containerProps, sideItem, sideItemPosition, removeBorder, readOnly, ...props }: TextInputProps): React.JSX.Element;