Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@traveloka/react-native-pace

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@traveloka/react-native-pace

![NPM Version](https://badge.fury.io/js/react-native-pace.svg) [![CircleCI](https://circleci.com/gh/traveloka/react-native-pace.svg?style=shield)](https://circleci.com/gh/traveloka/react-native-pace) [![PRs Welcome](https://img.shields.io/badge/PRs-welcom

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

React Native PACE

NPM Version CircleCI PRs Welcome

Installation

yarn

yarn add @traveloka/react-native-pace

npm

npm i @traveloka/react-native-pace --save

Getting Started

Basic Usage

import React from 'react';
import { Pace } from '@traveloka/react-native-pace';

export default function AwesomeScreen() {
  return (
    <Pace>
      {({ progress, status }) => (
        ...
      )}
    </Pace>
  );
}

Example

// TODO

or

cd Example
yarn
react-native run-ios

Documentation

- Pace

Importing
var Pace = require('@traveloka/react-native-pace').Pace;  // ES5

import { Pace } from '@traveloka/react-native-Pace';  // ES6
Children
variableTypeDefault ValueDescription
progressnumber0start from 0 to 100
status`IDLESTARTDONE`
Props
PropertyTypeDefault ValueDescription
resetDelaynumber1000delay from done to idle
config.blackListContentTypesRegExpnoneblack list content types
config.blackListUrlsRegExpnoneblack list urls
config.whiteListUrlsRegExpnonewhite list urls

Contributing

We'd to have your helping hand on this package! Feel free to PR's, add issues or give feedback!

Credits

Written by Jacky Wijaya (@jekiwijaya) at Traveloka.

Keywords

FAQs

Package last updated on 16 Apr 2019

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc