1.1.7 • Published 12 months ago

rn-scratch-splash-screen v1.1.7

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

rn-scratch-splash-screen A customizable splash screen component for React Native projects. Use this open source library in your fresh React Native project for instant startup.

Table of Contents

Installation

To use rn-scratch-splash-screen in your React Native project, simply install it using npm or yarn:

yarn add rn-scratch-splash-screen
or
npm install rn-scratch-splash-screen

Usage

To use the ScratchSplashScreen component in your app, import it from the rn-scratch-splash-screen package and render it as the first component in your app. You can customize the appearance and behavior of the splash screen by passing in props.

How to use

import ScratchSplashScreen from "rn-scratch-splash-screen";

function App() {
  return (
    <SplashScreen
      bgSource={require("./src/assets/black1.jpg")}
      source={require("./src/assets/cropped.png")}
      heading={"Ittechxpert"}
      AnimationDuration={1200}
      subHeading={"Loreum Epsum"}
      position={"center"}
    />
  );
}

Props

The ScratchSplashScreen component accepts the following props:

Prop NameData TypeDescription
bgSourcespecified pathrequire('Your ImagePath')
-----------------------------------------------
sourcespecified pathrequire('Your ImagePath')
--------------------------------------------------------------
headinganyHeading Content
-----------------------------
containerStyleanyWhole Screen Style
-----------------------------
bgStyleanyBackground Screen Style
-----------------------------
headingStyleanyHeading Tag Style
-----------------------------
AnimationDurationnumberAnimation Duration
-----------------------------
subHeadinganySub-Heading Content
-----------------------------
SubHeadingStyleanySub-Heading Tag Style
-----------------------------
positionspecified typesstart,center,end are specified
-----------------------------

Contributors

We would like to thank the following developers for their contributions to this project:

To all our contributors, thank you for your hard work and dedication!

License

This package is released under the MIT License.

1.1.7

12 months ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago