-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(): rename illustrations.error-message to eo-illustration-message…
…, and support status variants
- Loading branch information
1 parent
9781ac1
commit c647987
Showing
6 changed files
with
160 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
插画消息构件 | ||
|
||
## Examples | ||
|
||
### Basic | ||
|
||
```yaml preview | ||
brick: eo-illustration-message | ||
properties: | ||
heading: 糟糕!页面出现了一些问题 | ||
description: "HttpParseError: OK" | ||
``` | ||
### Variant: internet-disconnected | ||
```yaml preview | ||
brick: eo-illustration-message | ||
properties: | ||
variant: internet-disconnected | ||
heading: 网络错误,请检查您的网络连接。 | ||
``` | ||
### Variant: success | ||
```yaml preview | ||
brick: eo-illustration-message | ||
properties: | ||
variant: success | ||
heading: 工具执行成功! | ||
``` | ||
### Children | ||
```yaml preview | ||
brick: eo-illustration-message | ||
properties: | ||
heading: 糟糕!页面出现了一些问题 | ||
description: "HttpParseError: OK" | ||
children: | ||
- brick: eo-link | ||
properties: | ||
textContent: 回到上一页 | ||
events: | ||
click: | ||
action: history.goBack | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters