docs: update drawer doc deprecated custom-class (#10744)

This commit is contained in:
0song 2022-11-24 20:58:32 +08:00 committed by GitHub
parent ff2c984d12
commit a389b80e3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ Drawer provides an API called `destroyOnClose`, which is a flag variable that in
| close-on-press-escape | Indicates whether Drawer can be closed by pressing ESC | boolean | — | true |
| open-delay | Time(milliseconds) before open | number | — | 0 |
| close-delay | Time(milliseconds) before close | number | — | 0 |
| custom-class | Extra class names for Drawer | string | — | — |
| custom-class <DeprecatedTag />| Extra class names for Drawer | string | — | — |
| destroy-on-close | Indicates whether children should be destroyed after Drawer closed | boolean | - | false |
| modal | Should show shadowing layer | boolean | — | true |
| direction | Drawer's opening direction | Direction | rtl / ltr / ttb / btt | rtl |
@ -98,6 +98,11 @@ Drawer provides an API called `destroyOnClose`, which is a flag variable that in
| modal-class | Extra class names for shadowing layer | string | - | - |
| z-index | set z-index | number | - | - |
:::warning
`custom-class` has been **deprecated**, and **will be** removed in<VersionTag version="2.3.0" />, please use `class`.
:::
## Drawer Slots
| Name | Description |