【文件属性】:
文件名称:react-native-scale-alert:React Native警报组件
文件大小:1.7MB
文件格式:ZIP
更新时间:2021-05-01 02:59:17
JavaScript
React Native Scale Alert-不建议使用
演示版
入门
安装
$ npm i react-native-scale-alert --save
基本用法
import React from 'react' ;
import { StyleSheet , View , Text , TouchableOpacity } from 'react-native' ;
import Alert from 'react-native-scale-alert' ;
export default class App extends React . Component {
constructor ( props ) {
super ( props ) ;
this . state = {
visible : false
} ;
} ;
showAlert
【文件预览】:
react-native-scale-alert-master
----index.js(5KB)
----package.json(630B)
----src()
--------img()
--------Styles.js(2KB)
----README.md(4KB)
----alert.gif(1.99MB)