Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@candlefinance/page-control

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@candlefinance/page-control

UIPageControl wrapper for React Native

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
3
Created
Source

npm version

Page Control

UIPageControl wrapper for react native.

Demo

Watch the video

Installation

npm install @candlefinance/page-control

yarn install @candlefinance/page-control

Usage

import { PageControlView } from "@candlefinance/page-control";

const [currentPage, setCurrentPage] = React.useState(0);

// ...
<PageControlView
  currentPage={currentPage}
  hidesForSinglePage
  numberOfPages={8}
  onPageChange={(event) => setCurrentPage(event.nativeEvent.currentPage)}
  currentPageIndicatorTintColor="#ff0067"
  pageIndicatorTintColor="#D3D3D3"
  style={styles.box}
/>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords

react-native

FAQs

Package last updated on 13 Jan 2023

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