import React from 'react'; import { TextFieldProps } from '@material-ui/core/TextField'; interface StyleProps { /** The color of the text */ textColor?: string; /** The color of the outline when selected and hovered on */ focusColor?: string; /** The color of the error to display */ errorColor?: string; /** The color of the outline when it is not selected */ outlineColor?: string; /** The backgroundColor of the input */ backgroundColor?: string; /** The borderRadius of the input */ borderRadius?: number; /** If input is readOnly */ readOnly?: boolean; /** The padding of the input */ padding?: string; /** The size of the font to display the input in */ fontSize?: number | string; /** The weight of the font of the value and the placeholder */ fontWeight?: number | string; /** If the input is multiline */ multiline?: boolean; /** Cant edit */ cantEdit?: boolean; /** The color of the helper text when not error */ helperTextColor?: string; /** The icon to display */ icon?: React.ReactNode; /** The max length of the string */ maxLength?: number; } interface RoundedTextFieldProps extends StyleProps { /** The value of the textfield */ value?: string; } /** * Generic textfield with apps designs. Is class due to the use in the react-hook-forms library */ declare class RoundedTextField extends React.Component { render(): JSX.Element; } export default RoundedTextField;