Socket
Book a DemoInstallSign in
Socket

react-native-waiting-wheel

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-waiting-wheel

A progress wheel to whating for some thing in your application

1.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

React Native Waiting Wheel

If you have to make your user wait for some time, this will save you!

A progress wheel that can work as a loading as well, make your user wait for something in your application in a better way!

  • Checkout the example/ folder for use example.

Features

  • Good fit for loading situations
  • Good fit for waiting timers like SMS confirmation, or timers.
  • Smooth animations
  • Highly customizable
  • Very lightweight

Installation

Open a Terminal in the project root and run:

npm install react-native-waiting-wheel

OR

yarn add react-native-waiting-wheel

Quick Start

import React from "react";
import { View, Text } from "react-native";
import ProgressWheel from "react-native-waiting-wheel";

const App = () => {
  return (
    <View
      style={{
        flex: 1,
        alignItems: "center",
        justifyContent: "center",
        paddingHorizontal: 16
      }}
    >
      <View style={{ alignItems: "center" }}>
        <Text style={{ marginBottom: 20 }}>Default with 3000ms</Text>
        <ProgressWheel duration={10000} size={50} />
      </View>
    </View>
  );
};
export default App;

Props

size - integer (Default - 35)

Sets the size of the wheel.

background - string (Default - #F3F3F3)

Sets the background color of the wheel.

progressColor - string (Default - #BBBBBB)

Sets the first color of wheel

duration - integer (Default - 3000)

Sets the time of the animation.

Keywords

react

FAQs

Package last updated on 18 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.