【文件属性】:
文件名称:react-native-alert-modalize:很棒的样式,完全可定制的 React Native 警报模式
文件大小:3.71MB
文件格式:ZIP
更新时间:2021-08-04 19:56:43
react android ios front-end apple
安装
添加依赖:
npm i react - native - alert - modalize
对等依赖
重要的! 你需要安装它们
"react-native-modalize" : ">= 1.2.3" ,
"react-native-gesture-handler" : ">= 1.5.2" ,
"react-native-material-ripple" : ">= 0.9.1"
用法
进口
import AlertModalize from "react-native-alert-modalize" ;
用法
< AlertModalize xss=removed xss=removed> ( alertModal = ref ) } / >
打开模态
onPress = { ( ) => alertModal . openModal ( ) }
关闭模态
onPress = { (
【文件预览】:
react-native-alert-modalize-master
----.gitignore(826B)
----package.json(946B)
----assets()
--------Screenshots()
--------logo.png(13KB)
----LICENSE(1KB)
----.eslintrc.js(637B)
----README.md(4KB)
----example()
--------.gitignore(813B)
--------.flowconfig(2KB)
--------package.json(908B)
--------.buckconfig(114B)
--------android()
--------.watchmanconfig(2B)
--------assets()
--------metro.config.js(300B)
--------ios()
--------index.js(183B)
--------__tests__()
--------App.js(1KB)
--------.eslintrc.js(74B)
--------babel.config.js(77B)
--------.gitattributes(16B)
--------app.json(51B)
--------yarn.lock(297KB)
----lib()
--------src()
--------local-assets()
----.npmignore(85B)
----.gitattributes(16B)