Git Product home page Git Product logo

react-native-dynamic-text-loading's Introduction

React Native Dynamic Text Loading

Dynamically changes the text while loading screen for React Native. This is the loading like Heartstone and Discord's dynamically changes loading texts :)

npm version npm Platform - Android and iOS License: MIT styled with prettier

React Native Dynamic Text Loading

Installation

Add the dependency:

React Native:

npm i react-native-dynamic-text-loading

Peer Dependencies

IMPORTANT! You need install them.
"react": ">= 16.x.x",
"react-native": ">= 0.55.x",
"react-native-spinkit": ">= 1.3.0"

Basic Usage

import Loading from "react-native-dynamic-text-loading";

<Loading list={[
    "Assets are loading...",
    "Data is fetching...",
    "Running an algorithm..."]
}/>

Configuration - Props

Property Type Default Description
backgroundColor color "rgba(0, 0, 0, 0.5)" change the backdrop's color
type string "FadingCircleAlt" change the type of spinner's icon
size number 50 change the spinner's size
color color white change the spinner's color
spinnerStyle style default set your own style for spinner
spinnerIsVisible boolean true change the visibility of spinner
textColor color white change the dynamic text's color
textStyle style default set your own style for text
numberOfLines number 2 RECOMMENDED! Do NOT change the number of lines, users cannot read long texts below 1.5 sec

Author

FreakyCoder, [email protected]

License

React Native Dynamic Text Loading Library is available under the MIT license. See the LICENSE file for more info.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.