New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cat-modal

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cat-modal

弹出框组件

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Cat-Dialog

弹出框组件

buttons需要传递对象数组,每个对象的name属性将会作为buttons的显示文字,onClick方法可以绑定回调,若不设定,则自动设置成onClose所对应的方法

API

Props属性如下

props说明类型默认值备选
show显示参数booleanfalse
onClose关闭回调function
toBody生成的节点是否添加到bodybooleantrue
mySize大小stringmediumlarge\meduim\small
noCloseButton不显示X按钮booleanfalse
buttons按钮组参数array
noButtons不显示footerbooleanfalse

FAQs

Package last updated on 22 Jan 2016

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