I want to set the custom style to antd DatePicker but it just doesn't work. Some styling work and some are not.
JSX
<div >
<DatePicker
defaultValue={moment(date ? date : new Date(), dateFormat)}
defaultPickerValue={moment(date ? date : new Date(), dateFormat)}
format={dateFormat}
onChange={this.handleDateChange}
allowClear={false}
style={{
height: "53px",
width: "155px",
border: "1px solid blue",
borderRadius: "0px",
cursor: "pointer",
fontSize: "17px",
margin: "0px",
padding: "0px"
}}
/>
</div>
Expected behaviour:
Actual behaviour:
It currently shrinks the height. I don't want this.
I want the date picker to take full width and height. Also, How can I remove default border style in antd date picker? is It possible to remove that calendar icon?
I will appreciate your reply. thank you.


