mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
docs(components): [alert] use new display tag (#14963)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user