mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
parent
216a7a2dc9
commit
4f74524349
@ -57,17 +57,17 @@ link/with-icon
|
||||
|
||||
### Attributes
|
||||
|
||||
| Name | Description | Type | Default |
|
||||
|-----------|-------------------------------------|-----------------------------------------------------------------------------------|---------|
|
||||
| type | type | ^[string]`'primary' \| 'success' \| 'warning' \| 'danger' \| 'info' \| 'default'` | default |
|
||||
| underline | whether the component has underline | ^[boolean] | true |
|
||||
| disabled | whether the component is disabled | ^[boolean] | false |
|
||||
| href | same as native hyperlink's `href` | ^[string] | - |
|
||||
| icon | icon component | ^[string] / ^[Component] | - |
|
||||
| Name | Description | Type | Default |
|
||||
| --------- | ----------------------------------- | ------------------------------------------------------------------------------- | ------- |
|
||||
| type | type | ^[enum]`'primary' \| 'success' \| 'warning' \| 'danger' \| 'info' \| 'default'` | default |
|
||||
| underline | whether the component has underline | ^[boolean] | true |
|
||||
| disabled | whether the component is disabled | ^[boolean] | false |
|
||||
| href | same as native hyperlink's `href` | ^[string] | — |
|
||||
| icon | icon component | ^[string] / ^[Component] | — |
|
||||
|
||||
### Slots
|
||||
|
||||
| Name | Description |
|
||||
|---------|---------------------------|
|
||||
| ------- | ------------------------- |
|
||||
| default | customize default content |
|
||||
| icon | customize icon component |
|
||||
|
Loading…
Reference in New Issue
Block a user