Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hi-ui/alert

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hi-ui/alert

A sub-package for @hi-ui/hiui.

  • 4.0.0-beta.15
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22
decreased by-66.15%
Maintainers
2
Weekly downloads
 
Created
Source

Alert 警告提示

作用于页面的内容区域的提示,非触发类信息

何时使用

警示,内容提示,说明,要求,规则等阅读类信息

显示在页面局部的提示性文案

使用示例

Props

参数说明类型可选值默认值
type警告提示类型string'primary' | 'warning' | 'success' | 'danger''primary'
title警告提示标题string--
content警告提示内容string--
closeable是否可关闭booleantrue | falsefalse
duration自动关闭时间,单位为毫秒number | null-null

Events

名称说明类型参数返回值
onClose关闭事件触发时的回调() => void--

CHANGELOG

参数变更类型变更内容解决的问题
closeIconfeature
showIconfeature

FAQs

Package last updated on 17 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc