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

rox-snackbar

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-snackbar

  • 0.0.15
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
3
Weekly downloads
 
Created
Source

rox-snackbar

API

参数说明类型默认值
message提示文本string
visibile是否可视boolfalse
actionTpl交互区域模板,不传则为不可交互tpl
onAction交互回调函数functionfalse
import Snackbar from 'rox-snackbar'

/**
 * message String 提示文本
 * visibile Boolean 是否可视
 * actionTpl String 交互区域模板,不传则为不可交互
 * onAction Func 交互回调函数
 * 
 */

<Snackbar 
  message="测试提示文本" 
  actionTpl={actionTpl}
  visibile={this.state.showSnackBar}
  onAction={() => {
    this.closeHandler()
  }}
    />

Keywords

FAQs

Package last updated on 23 Jan 2018

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