【文件属性】:
文件名称:react-native-animated-splash-screen:React Native项目的动画启动画面组件
文件大小:417KB
文件格式:ZIP
更新时间:2021-05-02 09:02:54
JavaScript
React原生动画启动画面
适用于Android和iOS的动画启动画面。 它基于来自RN的。 这使用Image而不是MaskedView在两个平台上都可以工作。
SplashAnimated示例应用程序。
特征
自定义背景色。
自定义背景图片。
自定义徽标。
自定义徽标大小。
它同时适用:Expo和Pure React Native。 (感谢 !)
安装
yarn add react-native-animated-splash-screen或npm install --save react-native-animated-splash-screen
用法
import AnimatedSplash from "react-native-animated-splash-screen" ;
render ( ) {
return (
< Animate
【文件预览】:
react-native-animated-splash-screen-master
----.gitignore(94B)
----README.md(9KB)
----LICENSE(1KB)
----.gitattributes(66B)
----package.json(865B)
----.babelrc(59B)
----index.js(82B)
----example()
--------ios()
--------.gitignore(813B)
--------android()
--------__tests__()
--------.gitattributes(16B)
--------package.json(670B)
--------index.js(187B)
--------.buckconfig(114B)
--------.flowconfig(2KB)
--------app.json(51B)
--------.watchmanconfig(2B)
--------App.js(859B)
--------babel.config.js(77B)
--------metro.config.js(300B)
--------yarn.lock(275KB)
--------lib()
--------.eslintrc.js(74B)
--------assets()
--------package-lock.json(315KB)
----.npmignore(83B)
----lib()
--------AnimatedSplash.style.js(1KB)
--------background.png(51KB)
--------AnimatedSplash.js(5KB)
----package-lock.json(45KB)