npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

react-native-splashed-app

1.0.13 • Public • Published

react-native-splashed-app

react-native app container to support splash screen functionallity

Usage

First add package: npm install react-native-splashed-app --save

In your App.js

import SplashApp from 'react-native-splashed-app'
 
// more code
 
<SplashedApp imageSource={require('./App/Images/splash.jpg')} direction="up" duration="2000" withFadeOut>
   <App></App>
</SplashedApp>

If you use redux

<Provider store={store}>
   <SplashedApp imageSource={require('./App/Images/splash.jpg')} direction="up" duration="2000" withFadeOut>
      <App></App>
   </SplashedApp>
</Provider>

API

parameter type optional(default)
imageSource require('image/file/path') if text supplied
text string yes
baseColor string yes
direction string yes (up)
duration number yes (3000)
withFadeOut bool yes (false)

install

npm i react-native-splashed-app

Downloadsweekly downloads

3

version

1.0.13

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability