Answers for "how to change the size of text field material ui"

2

textfield font size material ui

<TextField
  label="input label name here"
  margin="normal"
  inputProps={{style: {fontSize: 40}}} // font size of input text
  InputLabelProps={{style: {fontSize: 40}}} // font size of input label
/>
Posted by: Guest on January-20-2021
0

material ui width textfield

// Option 1
<TextField style ={{width: '100%'}} />

// Option 2
<TextField fullWidth />
Posted by: Guest on November-19-2020

Code answers related to "how to change the size of text field material ui"

Browse Popular Code Answers by Language