STYLED MDL

Text Fields

Textual input components

Basic Textfields

/*--- Text ---*/
<Textfield label="Text..." />

/*--- Multiple lines ---*/
<Textfield label="Long..." multiLine />

Textfields with Errors and Helper Text

Enter a number
33/100
/*--- With an error ---*/
<Textfield label="Number..." error="Enter a number" defaultValue="ABC" />

/*--- Helper text ---*/
<Textfield label="Short Description" helperText="33/100" defaultValue="Useful information for your users" />

Usage

TODO

<Textfield>

No Custom Props