19 lines
343 B
Markdown
19 lines
343 B
Markdown
|
<cn>
|
|||
|
#### 自定义 Icon 图标
|
|||
|
使用 `icon` 自定义提示 `icon`。
|
|||
|
</cn>
|
|||
|
|
|||
|
<us>
|
|||
|
#### Customize icon
|
|||
|
Set `icon` props to customize the icon.
|
|||
|
</us>
|
|||
|
|
|||
|
```html
|
|||
|
<template>
|
|||
|
<a-popconfirm title="Are you sure?">
|
|||
|
<a-icon slot="icon" type="question-circle-o" style="color: red" />
|
|||
|
<a href="#">Delete</a>
|
|||
|
</a-popconfirm>
|
|||
|
</template>
|
|||
|
```
|