项目初始化

This commit is contained in:
Taric Xin
2021-11-26 16:34:35 +08:00
parent 66644bcf0a
commit 5287578452
354 changed files with 45736 additions and 0 deletions

View File

@ -0,0 +1,23 @@
---
order: 10
title: status-label
type: Component
---
Status label, [DEMO](https://preview.ng-alain.com/ms/#/dns/domain)。
## DEMO
```html
<status-label>Normal</status-label>
<status-label type="error" text="Error"></status-label>
<span status-label type="error" text="Error"></span>
```
## API
| Property | Description | Type | Default |
| -------- | --------------------------------------- | ----------------------- | --------- |
| `[type]` | Type of status label | `success,error,warning` | `success` |
| `[icon]` | Whether show icon | `boolean` | `true` |
| `[text]` | Text of status label, or `[ng-content]` | `string` | - |