Answers for "material ui textfield width like text size"

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 "material ui textfield width like text size"

Browse Popular Code Answers by Language