<StaticDatePicker
orientation="landscape"
openTo="day"
value={selectedDate}
onChange={handleDateChange}
renderInput={(params) => <TextField {...params} />}
/>
this is my current StaticDatePicker component from MUI, and i want to get rid of the cancel/ok button at the bottom of it, which i assume belongs to the PickersActionBar component.
I have tried to alter the components by adding components={{ PickersActionBar: null }}
and other similar methods but to no avail.