GithubHelp home page GithubHelp logo

mxtheussouza / react-native-loading-ellipsis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from janidham/react-native-loading-ellipsis

0.0 0.0 0.0 229 KB

A fork of a simple library loading dots component with TypeScript.

License: MIT License

JavaScript 8.83% Shell 1.86% TypeScript 89.30%
ellipsis loading loading-animation react react-native typescript animation react-native-animation

react-native-loading-ellipsis's Introduction

React Native Loading Ellipsis


A fork of a simple library loading dots component.


Installation

npm:

npm install --save @matheusdearaujo/react-native-loading-ellipsis

yarn:

yarn add @matheusdearaujo/react-native-loading-ellipsis

Usage

import EllipsisLoading from "@matheusdearaujo/react-native-loading-ellipsis"

Simply place a <EllipsisLoading /> inside of any compnent.

<View style={{ flex: 1 }}>
    <EllipsisLoading />
</View>

Styling Usage

EllipsisLoading is fully customizable using the styleDot, animationDelay, numberOfDots, minOpacity, and dotSize props.

Example usage to change dots color and spacing (as preview):

<View style={{ flex: 1 }}>
    <EllipsisLoading
        styleDot={{
          backgroundColor: "#6c5ce7",
          margin: 5,
        }}
    />
</View>

Documentation

EllipsisLoading Component

Name Description Default Type
styleDot Dot styles undefined ViewStyle
animationDelay Delay for animation in milliseconds 300 Number
numberOfDots Number of dot to display 3 Number
minOpacity Opacity of dot animation 0.2 Number
dotSize Size of the dots 12 Number

How to contribute

Read our contribution guide.

Contributors

Author


@mxtheussouza

LICENSE

This repository use MIT License.

react-native-loading-ellipsis's People

Contributors

mxtheussouza avatar janidham avatar

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.