mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
docs(Modal): add version (#27300)
This commit is contained in:
parent
5e1665d028
commit
888e28fe14
@ -65,7 +65,7 @@ The items listed above are all functions, expecting a settings object as paramet
|
|||||||
| Property | Description | Type | Default | Version |
|
| Property | Description | Type | Default | Version |
|
||||||
| --- | --- | --- | --- | --- |
|
| --- | --- | --- | --- | --- |
|
||||||
| autoFocusButton | Specify which button to autofocus | null \| `ok` \| `cancel` | `ok` | |
|
| autoFocusButton | Specify which button to autofocus | null \| `ok` \| `cancel` | `ok` | |
|
||||||
| bodyStyle | Body style for modal body element. Such as height, padding etc | CSSProperties | | |
|
| bodyStyle | Body style for modal body element. Such as height, padding etc | CSSProperties | | 4.8.0 |
|
||||||
| cancelButtonProps | The cancel button props | [ButtonProps](/components/button/#API) | - | |
|
| cancelButtonProps | The cancel button props | [ButtonProps](/components/button/#API) | - | |
|
||||||
| cancelText | Text of the Cancel button with Modal.confirm | string | `Cancel` | |
|
| cancelText | Text of the Cancel button with Modal.confirm | string | `Cancel` | |
|
||||||
| centered | Centered Modal | boolean | false | |
|
| centered | Centered Modal | boolean | false | |
|
||||||
|
Loading…
Reference in New Issue
Block a user