3.0.0 • Published 4 years ago

@apolloeagle/loading-dots v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Installation

npm i @apolloeagle/loading-dots

Usage

import React from "react";
import { View, StyleSheet } from "react-native";
import LoadingDots from "@apolloeagle/loading-dots"; // <---- Import package

const Page = () => {
  return (
    <View style={styles.container}>
      <LoadingDots /> {/* <---- Add component */}
    </View>
  );
};

const styles = StyleSheet.create({
  container: {
    display: "flex",
    flexDirection: "row",
    alignItems: "center",
    justifyContent: "center",
  },
});

Styling Options

A list of available props to pass into the <LoadingProps /> component:

PropsTypeDefaultUnitsDescription
animationString'pulse'n/aAnimation style. Available styles: pulse, elastic, flashing, typing, ping
dotsNumber3n/aNumber of dots displayed
colorString'black'n/aColor of dots
sizeNumber10pxSize of dots
spacingNumber2pxSpace between dots
delayNumber260msTime between dot rendering
3.0.0

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.3.0

4 years ago

1.2.22

4 years ago

1.2.21

4 years ago

1.2.20

4 years ago

1.2.19

4 years ago

1.2.18

4 years ago

1.2.17

4 years ago

1.2.16

4 years ago

1.2.15

4 years ago

1.2.14

4 years ago

1.2.13

4 years ago

1.2.12

4 years ago

1.2.11

4 years ago

1.2.10

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago