@hi-ui/alert
Advanced tools
Comparing version 4.0.0-alpha.21 to 4.0.0-alpha.22
{ | ||
"name": "@hi-ui/alert", | ||
"version": "4.0.0-alpha.21", | ||
"version": "4.0.0-alpha.22", | ||
"description": "A sub-package for @hi-ui/hiui.", | ||
@@ -51,5 +51,5 @@ "keywords": [], | ||
"@hi-ui/icon-button": "^4.0.0-alpha.13", | ||
"@hi-ui/icons": "^4.0.0-alpha.24", | ||
"@hi-ui/use-latest": "^4.0.0-alpha.4", | ||
"@hi-ui/use-timeout": "^4.0.0-alpha.4" | ||
"@hi-ui/icons": "^4.0.0-alpha.25", | ||
"@hi-ui/use-latest": "^4.0.0-alpha.5", | ||
"@hi-ui/use-timeout": "^4.0.0-alpha.5" | ||
}, | ||
@@ -65,3 +65,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "88a8b8aa1b659b247bfca62f2f8ba594c25b90f6" | ||
"gitHead": "5a8f028a385e4a547748df37875653cfb416beb9" | ||
} |
@@ -1,11 +0,36 @@ | ||
# `@hi-ui/alert` | ||
# Alert 警告提示 | ||
> TODO: description | ||
作用于页面的内容区域的提示,非触发类信息 | ||
## Usage | ||
## 何时使用 | ||
``` | ||
const Alert = require('@hi-ui/alert'); | ||
警示,内容提示,说明,要求,规则等阅读类信息 | ||
// TODO: DEMONSTRATE API | ||
``` | ||
显示在页面局部的提示性文案 | ||
## 使用示例 | ||
<!-- Inject Stories --> | ||
## Props | ||
| 参数 | 说明 | 类型 | 可选值 | 默认值 | | ||
| --------- | ------------ | -------------- | ----------------------------------------------- | --------- | | ||
| type | 警告提示类型 | string | 'primary' \| 'warning' \| 'success' \| 'danger' | 'primary' | | ||
| title | 警告提示标题 | string | - | - | | ||
| content | 警告提示内容 | string | - | - | | ||
| closeable | 是否可关闭 | boolean | true \| false | false | | ||
| duration | 自动关闭时间,单位为毫秒 | number \| null | - | null | | ||
## Events | ||
| 名称 | 说明 | 类型 | 参数 | 返回值 | | ||
| ------- | ---------- | ---------- | --- | --- | | ||
| onClose | 关闭事件触发时的回调 | () => void | - | - | | ||
## CHANGELOG | ||
| 参数 | 变更类型 | 变更内容 | 解决的问题 | | ||
| ------------- | ------- | ---- | ----- | | ||
| closeIcon | feature | | | | ||
| colorshowIcon | feature | | | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36091
37