ant-design-vue/components/popconfirm/demo/local.md

19 lines
335 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<cn>
#### 国际化
使用 `okText``cancelText` 自定义按钮文字。
</cn>
<us>
#### Locale text
Set `okText` and `cancelText` props to customise the button's labels.
</us>
```html
<template>
<a-popconfirm title="Are you sure" okText="Yes" cancelText="No">
<a href="#">Delete</a>
</a-popconfirm>
</template>
```