React Native 的快速简单的应用内通知

时间:2021-06-08 16:25:04
【文件属性】:
文件名称:React Native 的快速简单的应用内通知
文件大小:10.1MB
文件格式:ZIP
更新时间:2021-06-08 16:25:04
React Native Awesome Components react-native-notifier 用于 React Native 需求的快速简单的应用内通知 该库使用 react-native-gesture-handler,一个完美的滑动和其他手势事件库。 如果您使用的是 react-navigation,那么您已经安装了手势处理程序。 如果没有,请查看入门指南进行安装:https://software-mansion.github.io/react-native-gesture-handler/docs/getting-started.html 安装 yarn add react-native-notifier 或npm install --save react-native-notifier 用法使用 NotifierWrapper import { NotifierWrapper } from 'react-native-notifier' 包裹你的应用程序; const App = () => ( ); 然后在代码中的任何地方调用 Notifier.showNotification() import { Notifier, Ea
【文件预览】:
react-native-notifier-master
----.circleci()
--------config.yml(2KB)
----.gitignore(564B)
----tsconfig.json(662B)
----README.md(13KB)
----custom-component.jpg(16KB)
----.github()
--------stale.yml(749B)
----LICENSE(1KB)
----.gitattributes(16B)
----package.json(3KB)
----CONTRIBUTING.md(8KB)
----src()
--------components()
--------index.tsx(256B)
--------types.ts(4KB)
--------constants.ts(331B)
--------__tests__()
--------Notifier.tsx(8KB)
--------NotifierWrapper.tsx(377B)
--------Notifier.styles.ts(277B)
----example()
--------ios()
--------index.tsx(210B)
--------android()
--------package.json(575B)
--------src()
--------app.json(69B)
--------metro.config.js(924B)
--------yarn.lock(196KB)
----alert-component.png(20KB)
----demo.gif(10.4MB)
----notification-component.png(17KB)
----.editorconfig(283B)
----babel.config.js(77B)
----yarn.lock(423KB)

网友评论