docs: improve classname typing (#7927)

This commit is contained in:
neverland
2021-01-16 19:52:36 +08:00
committed by GitHub
parent 9d152bdf74
commit 8f2b03ec18
26 changed files with 65 additions and 65 deletions
+2 -2
View File
@@ -143,7 +143,7 @@ export default {
| message | Message | _string_ | - |
| messageAlign | Message text aligncan be set to `left` `right` | _string_ | `center` |
| theme | theme stylecan be set to `round` | _string_ | `default` |
| className | Custom className | _any_ | - |
| className | Custom className | _string \| Array \| object_ | - |
| showConfirmButton | Whether to show confirm button | _boolean_ | `true` |
| showCancelButton | Whether to show cancel button | _boolean_ | `false` |
| cancelButtonText | Cancel button text | _string_ | `Cancel` |
@@ -151,7 +151,7 @@ export default {
| confirmButtonText | Confirm button text | _string_ | `Confirm` |
| confirmButtonColor | Confirm button color | _string_ | `#ee0a24` |
| overlay | Whether to show overlay | _boolean_ | `true` |
| overlayClass | Custom overlay class | _string_ | - |
| overlayClass | Custom overlay class | _string \| Array \| object_ | - |
| overlayStyle | Custom overlay style | _object_ | - |
| closeOnPopstate | Whether to close when popstate | _boolean_ | `true` |
| closeOnClickOverlay | Whether to close when overlay is clicked | _boolean_ | `false` |