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.
<docs>
---
order: 9
title:
zh-CN: 危险按钮
en-US: Danger Button
## zh-CN
在 2.2.0 之后,危险成为一种按钮属性而不是按钮类型。
## en-US
danger is a property of button after antd 2.2.0.
</docs>
<template>
<div>
<a-button type="primary" danger>Primary</a-button>
<a-button danger>Default</a-button>
<a-button type="dashed" danger>Dashed</a-button>
<a-button type="text" danger>Text</a-button>
<a-button type="link" danger>Link</a-button>
</div>
</template>