material ui input width code example
Example 1: react material ui input max length
<Input
inputProps={{ maxLength: 10 }} // sets the maximum length to 10
></Input>
Example 2: material ui width textfield
// Option 1
<TextField style ={{width: '100%'}} />
// Option 2
<TextField fullWidth />