ant-design-vue/components/badge/demo/status.md

32 lines
634 B
Markdown
Raw Normal View History

2018-02-07 10:44:11 +00:00
<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>
```