I'm using version 3.2.6 of material-ui pickers to create a component that renders differently on mobile and desktop.
On desktop I'm displaying a regular inline datepicker with textinput, and for mobile I only want to display a dateicon button which opens up the modal
From what I can see the material-picker api does not have a prop to hide the textfield, and the DatePickerModal is not a standalone component.
I saw solutions using ref to open the with a button, but that seemed to be for older versions of the library, and I couldn't get it working. Any tips on how this can be achieved with the latest version? Is there some props I can pass down to the TextField component to hide it?