New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-process-indicator

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-process-indicator

## DOC:

latest
Source
npmnpm
Version
1.0.8
Version published
Maintainers
1
Created
Source

React 圆环翻页进度条

DOC:

使用教程:

  • npm i react-process-indicator ;

  • import ProcessIndicator from 'react-process-indicator' import 'react-process-indicator/src/pages/home/picss.styl' ;

  • <ProcessIndicator {...{currentPart,currentPage,dir,flag,obj,num}}/>;

  • currentPart为当前页面所处部分,currentPage为当前页面,obj为一个对象,对象的key值是part,value值是该部分有多少页面,flag有两个值,分别是0,1,0表示所处part只有一个页面,1表示所处part有至少两个页面,dir(可选)有'down'、'up'两个状态,指示是上翻页还是下翻页,num为part总数 ;

  • 使用者需在本地自行引入picss.styl样式 。

Keywords

react

FAQs

Package last updated on 22 Jun 2018

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