'Adding custom CSS styling to Material UI KeyboardDatePicker

I'm using the Material UI KeyboardDatePicker. This is how the datepicker currently looks like

I want to get rid of that black line which is there in the datepicker as you can see in the screenshot. How do I do that?

This is the code of my datepicker.

<KeyboardDatePicker
    error={this.state.quickRegFormErrors["dob"]||this.state.quickRegFormErrors["form_dob"] }
    helperText={(this.state.quickRegFormErrors["dob"] && "Date Of Birth is Required") || (this.state.quickRegFormErrors["form_dob"]) }
    required 
    id="dob" 
    name="dob" 
    style={{width:"80%", marginTop:"15px"}} 
    clearable
    value={this.state.dob}
    placeholder="dd/mm/yyyy"
    onChange={this.dateOnChange}
    format="dd/MM/yyyy"
    disableFuture= {true}
    autoOk={true}
    className="quick-reg-datepicker"
/>


Solution 1:[1]

in the styling prop of your date KeyboardDatePicker or input component add the following property:

border: none 
style={{width:"80%", marginTop:"15px", border: none }} 

Solution 2:[2]

You can simply add this prop to disable this bottom line :

InputProps={{ disableUnderline: true }}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 MElate
Solution 2 Shanza Amin