
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
react-native-insta-pagination-dots
Advanced tools
Instagram like carousel pagination dots with React Native
Instagram Like dot pagination component for React Native
Installation can be done through npm
:
npm
npm i react-native-insta-pagination-dots
yarn
yarn add react-native-insta-pagination-dots
You can easily add to your project.
just import component and set current page index and max page index.
import React from 'react'
import {View} from 'react-native'
import PaginationDot from 'react-native-insta-pagination-dots'
const ExampleDotPaginate:React.FC = ()=>{
const [curPage] = React.useState(0);
return (
<PaginationDot
activeDotColor={'black'}
curPage={curPage}
maxPage={20}
/>
)
}
export default ExampleDotPaginate;
Prop | Type | Required(Default Value) | Description |
---|---|---|---|
curPage | number | required | Pagination curernt Page |
maxPage | number | required | Total Page in Pagination |
activeDotColor | string | required | Active Dot Color. dot will control by opacity |
inactiveDotColor | string | undefined | InActive Dot Color. dot will control by opacity |
sizeRatio | number | 1.0 | Customize Dot Size. minimum value is 1.0 (recommend 1.0 ~ 2.0) |
vertical | boolean | false | Dot direction |
MIT.
shubh
FAQs
Instagram like carousel pagination dots with React Native
The npm package react-native-insta-pagination-dots receives a total of 0 weekly downloads. As such, react-native-insta-pagination-dots popularity was classified as not popular.
We found that react-native-insta-pagination-dots demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.