<React.Fragment /><React.Fragment /><React.Fragment /><React.Fragment /><React.Fragment />TextInput components can use the following props:
className (optional)errorMessage (optional)hasError (optional)hintText (optional)idid attribute of the input element.labelname (optional)name attribute of the input element.onBlur (optional)onChange (optional)placeholder (optional)placeholder attribute of the input element.typetype attribute of the input element. Default is text.value (optional)input element.width (optional)The width to use for the input element. If no width is specified the text input is full-width. Supported values are:
fixed-20 - 20 characters widefixed-10 - 10 characters widefixed-5 - 5 characters widefixed-4 - 4 characters widefixed-3 - 3 characters widefixed-2 - 2 characters widefluid-three-quarters - three quarters of the width of the parent containerfluid-two-thirds - two thirds of the width of the parent containerfluid-half - half of the width of the parent containerfluid-one-third - one third of the width of the parent containerfluid-one-quarter - one quarter of the width of the parent containerUse these additional props for a text input with an associated button:
buttonIconbuttonTexthasButtonUse these additional props for a text input with a character count:
countThreshold (optional)maxlengthUse these additional props for a currency text input:
currencySymbol (optional)£.isCurrency