ant-design-vue/components/badge/demo/status.md
2018-02-07 18:44:11 +08:00

32 lines
634 B
Markdown

<cn>
#### 状态点
用于表示状态的小圆点。
</cn>
<us>
#### Status
Standalone badge with status.
</us>
```html
<template>
<div>
<a-badge status="success" />
<a-badge status="error" />
<a-badge status="default" />
<a-badge status="processing" />
<a-badge status="warning" />
<br />
<a-badge status="success" text="Success" />
<br />
<a-badge status="error" text="Error" />
<br />
<a-badge status="default" text="Default" />
<br />
<a-badge status="processing" text="Processing" />
<br />
<a-badge status="warning" text="warning" />
</div>
</template>
```