You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.3.3
Environment
Chromium 64
Reproduction link
Steps to reproduce
importReactfrom"react";importReactDOMfrom"react-dom";importmomentfrom"moment";import{DatePicker,version}from"antd";import"antd/dist/antd.css";const{ MonthPicker, RangePicker, WeekPicker }=DatePicker;ReactDOM.render(<divstyle={{margin: 24}}><pstyle={{marginBottom: 24}}>
Current antd version: {version}<br/>
You can change antd version on the left panel (Dependencies section).
</p><DatePickerdefaultValue={moment()}style={{width: 300}}/><p>MonthPicker:</p><MonthPickerdefaultValue={moment()}style={{width: 300}}/><p>WeekPicker:</p>
// 自定义宽度失败
<WeekPickerdefaultValue={moment()}style={{width: 300}}/><p>RangePicker:</p><RangePickerdefaultValue={moment()}style={{width: 300}}/></div>,document.getElementById("root"));
What is expected?
...
What is actually happening?
customize style props invalid
The text was updated successfully, but these errors were encountered:
Version
3.3.3
Environment
Chromium 64
Reproduction link
Steps to reproduce
What is expected?
...
What is actually happening?
customize style props invalid
The text was updated successfully, but these errors were encountered: