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
Copy file name to clipboardExpand all lines: components/button/index.en-US.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,6 @@ It accepts all props which native buttons support.
58
58
59
59
### How to remove space between 2 chinese characters
60
60
61
-
Following the Ant Design specification, we will add one space between if Button (exclude Text button and Link button) contains two Chinese characters only. If you don't need that, you can use [ConfigProvider](/components/config-provider/#API) to set `autoInsertSpaceInButton` as `false`.
61
+
Following the Ant Design specification, we will add one space between if Button (exclude Text button and Link button) contains two Chinese characters only. If you don't need that, you can use [ConfigProvider](/components/config-provider/#api) to set `autoInsertSpaceInButton` as `false`.
62
62
63
63
<imgsrc="https://gw.alipayobjects.com/zos/antfincdn/MY%26THAPZrW/38f06cb9-293a-4b42-b183-9f443e79ffea.png"style="box-shadow: none; margin: 0; width: 100px"alt="Button with two Chinese characters" />
| direction | Set direction of layout. See [demo](#components-config-provider-demo-direction)|`ltr`\|`rtl`|`ltr`| 3.0 |
55
55
| dropdownMatchSelectWidth | Determine whether the dropdown menu and the select input are the same width. Default set `min-width` same as input. Will ignore when value less than select width. `false` will disable virtual scroll | boolean \| number | - | 3.0 |
56
-
| form | Set Form common props | { validateMessages?: [ValidateMessages](/components/form/#validateMessages), requiredMark?: boolean \|`optional` } | - | 3.0 |
56
+
| form | Set Form common props | { validateMessages?: [ValidateMessages](/components/form/#validatemessages), requiredMark?: boolean \|`optional` } | - | 3.0 |
57
57
| getPopupContainer | to set the container of the popup element. The default is to create a `div` element in `body`. | Function(triggerNode, dialogContext) |`() => document.body`||
Copy file name to clipboardExpand all lines: components/date-picker/index.en-US.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ The following APIs are shared by DatePicker, RangePicker.
84
84
| dateRender | Custom rendering function for date cells | v-slot:dateRender="{current, today}" | - ||
85
85
| disabled | Determine whether the DatePicker is disabled | boolean | false ||
86
86
| disabledDate | Specify the date that cannot be selected | (currentDate: dayjs) => boolean | - ||
87
-
| format | To set the date format, refer to [dayjs](https://day.js.org/). When an array is provided, all values are used for parsing and first value is used for formatting, support [Custom Format](#components-date-picker-demo-format)|[formatType](#formatType)|`YYYY-MM-DD`||
87
+
| format | To set the date format, refer to [dayjs](https://day.js.org/). When an array is provided, all values are used for parsing and first value is used for formatting, support [Custom Format](#components-date-picker-demo-format)|[formatType](#formattype)|`YYYY-MM-DD`||
88
88
| dropdownClassName | To customize the className of the popup calendar | string | - ||
89
89
| getPopupContainer | To set the container of the floating layer, while the default is to create a `div` element in `body`| function(trigger) | - ||
90
90
| inputReadOnly | Set the `readonly` attribute of the input tag (avoids virtual keyboard on touch devices) | boolean | false ||
@@ -125,10 +125,10 @@ The following APIs are shared by DatePicker, RangePicker.
125
125
| --- | --- | --- | --- | --- |
126
126
| defaultPickerValue | To set default picker date |[dayjs](https://day.js.org/)| - ||
127
127
| disabledTime | To specify the time that cannot be selected | function(date) | - ||
128
-
| format | To set the date format, refer to [dayjs](https://day.js.org/)|[formatType](#formatType)|`YYYY-MM-DD`||
128
+
| format | To set the date format, refer to [dayjs](https://day.js.org/)|[formatType](#formattype)|`YYYY-MM-DD`||
129
129
| renderExtraFooter | Render extra footer in panel | v-slot:renderExtraFooter="mode" | - ||
130
130
| showNow | Whether to show 'Now' button on panel when `showTime` is set | boolean | - ||
131
-
| showTime | To provide an additional time selection | object \| boolean |[TimePicker Options](/components/time-picker/#API)||
131
+
| showTime | To provide an additional time selection | object \| boolean |[TimePicker Options](/components/time-picker/#api)||
132
132
| showTime.defaultValue | To set default time of selected date, [demo](#components-date-picker-demo-disabled-date)|[dayjs](https://day.js.org/)| dayjs() ||
133
133
| showToday | Whether to show `Today` button | boolean | true ||
134
134
| value(v-model) | To set date |[dayjs](https://day.js.org/)| - ||
@@ -144,26 +144,26 @@ The following APIs are shared by DatePicker, RangePicker.
144
144
145
145
| Property | Description | Type | Default | Version |
146
146
| --- | --- | --- | --- | --- |
147
-
| format | To set the date format, refer to [dayjs](https://day.js.org/)|[formatType](#formatType)|`YYYY`||
147
+
| format | To set the date format, refer to [dayjs](https://day.js.org/)|[formatType](#formattype)|`YYYY`||
148
148
149
149
### DatePicker\[picker=quarter]
150
150
151
151
| Property | Description | Type | Default | Version |
152
152
| --- | --- | --- | --- | --- |
153
-
| format | To set the date format, refer to [dayjs](https://day.js.org/)|[formatType](#formatType)|`YYYY-\QQ`||
153
+
| format | To set the date format, refer to [dayjs](https://day.js.org/)|[formatType](#formattype)|`YYYY-\QQ`||
154
154
155
155
### DatePicker\[picker=month]
156
156
157
157
| Property | Description | Type | Default | Version |
158
158
| --- | --- | --- | --- | --- |
159
-
| format | To set the date format, refer to [dayjs](https://day.js.org/)|[formatType](#formatType)|`YYYY-MM`||
159
+
| format | To set the date format, refer to [dayjs](https://day.js.org/)|[formatType](#formattype)|`YYYY-MM`||
| renderExtraFooter | Render extra footer in panel | v-slot:renderExtraFooter="mode" | - ||
181
181
| separator | Set separator between inputs | string \| v-slot:separator|`<SwapRightOutlined />`||
182
-
| showTime | To provide an additional time selection | object \| boolean |[TimePicker Options](/components/time-picker/#API)||
182
+
| showTime | To provide an additional time selection | object \| boolean |[TimePicker Options](/components/time-picker/#api)||
183
183
| showTime.defaultValue | To set default time of selected date, [demo](#components-date-picker-demo-disabled-date)|[dayjs](https://day.js.org/)\[]|\[dayjs(), dayjs()]||
184
184
| value(v-model) | To set date |\[[dayjs](https://day.js.org/), [dayjs](https://day.js.org/)]| - ||
0 commit comments