【文件属性】:
文件名称:alerts-are-easy:显示美丽的成功,警告,错误和信息消息
文件大小:151KB
文件格式:ZIP
更新时间:2021-05-12 09:45:09
android ios alerts react-native react-native-component
警报很容易
该软件包将通过漂亮的UI帮助您在本机应用程序中显示成功,警告,错误和信息消息。
例子
安装
npm install --save alerts-are-easy
警报很容易,需要来显示图标。 安装此对等依赖项并开始使用警报功能。
用法
import { SimpleAlert } from 'alerts-are-easy' ;
< SimpleAlert xss=removed> Can be top,center or bottom
message = "This is a sample message..." // The message you want to show
type = "success" // -> Can be success, warning, error or info
showIcon = { true
【文件预览】:
alerts-are-easy-main
----.github()
--------images()
----src()
--------constants()
--------Alerts()
----.babelrc(60B)
----.npmignore(120B)
----README.md(3KB)
----.gitignore(120B)
----index.js(86B)
----package-lock.json(55KB)
----package.json(932B)