From 16b0eac7014e8cd763062bf5af8558236b062cdf Mon Sep 17 00:00:00 2001 From: wzc520pyfm <69044080+wzc520pyfm@users.noreply.github.com> Date: Mon, 4 Dec 2023 08:44:09 +0800 Subject: [PATCH] docs(components): [alert] use new display tag (#14963) --- docs/en-US/component/alert.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/en-US/component/alert.md b/docs/en-US/component/alert.md index 4b26fe8364..ffab02dd5f 100644 --- a/docs/en-US/component/alert.md +++ b/docs/en-US/component/alert.md @@ -79,16 +79,16 @@ alert/icon-description ### Attributes -| Name | Description | Type | Default | Required | -| ----------- | ---------------------------------------- | ----------------------------------------------------- | --------- | -------- | -| title | alert title. | ^[string] | — | No | -| type | alert type. | ^[enum]`'success' \| 'warning' \| 'info' \| 'error' ` | `info` | No | -| description | descriptive text. | ^[string] | — | No | -| closable | whether alert can be dismissed. | ^[boolean] | `true` | No | -| center | whether content is placed in the center. | ^[boolean] | `false` | No | -| close-text | customized close button text. | ^[string] | — | No | -| show-icon | whether a type icon is displayed. | ^[boolean] | `false` | No | -| effect | theme style. | ^[enum]`'light' \| 'dark'` | `'light'` | No | +| Name | Description | Type | Default | +| ----------- | ---------------------------------------- | ----------------------------------------------------- | ------- | +| title | alert title. | ^[string] | — | +| type | alert type. | ^[enum]`'success' \| 'warning' \| 'info' \| 'error' ` | info | +| description | descriptive text. | ^[string] | — | +| closable | whether alert can be dismissed. | ^[boolean] | true | +| center | whether content is placed in the center. | ^[boolean] | false | +| close-text | customized close button text. | ^[string] | — | +| show-icon | whether a type icon is displayed. | ^[boolean] | false | +| effect | theme style. | ^[enum]`'light' \| 'dark'` | light | ### Events