material ui box size as text code example
Example: material ui width textfield
// Option 1
<TextField style ={{width: '100%'}} />
// Option 2
<TextField fullWidth />
// Option 1
<TextField style ={{width: '100%'}} />
// Option 2
<TextField fullWidth />