项目初始化
This commit is contained in:
23
src/app/shared/components/status-label/index.en-US.md
Normal file
23
src/app/shared/components/status-label/index.en-US.md
Normal 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` | - |
|
||||
Reference in New Issue
Block a user