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

rn-viewpager

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rn-viewpager - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

4

docs/dotindicator.md

@@ -7,6 +7,6 @@ # <PagerDotIndicator /> Component Api

| pageCount | number | | |
| dotStyle | View.propTypes.style | | |
| selectedDotStyle | View.propTypes.style | | |
| dotStyle | ViewPropTypes.style | | |
| selectedDotStyle | ViewPropTypes.style | | |
| hideSingle | bool | | |

@@ -6,3 +6,3 @@ # <IndicatorViewPager /> Component Api

| indicator | PropTypes.node | | |
| pagerStyle | View.propTypes.style | | |
| pagerStyle | ViewPropTypes.style | | |
| autoPlayEnable | bool | false | |

@@ -9,0 +9,0 @@ | autoPlayInterval | number | 3000 | |

@@ -7,4 +7,4 @@ # <IndicatorViewPager /> Component Api

| tabs | PropTypes.arrayOf(PropTypes.shape({text: PropTypes.string,iconSource: Image.propTypes.source,selectedIconSource: Image.propTypes.source})) | | |
| itemStyle | View.propTypes.style | | |
| selectedItemStyle | View.propTypes.style | | |
| itemStyle | ViewPropTypes.style | | |
| selectedItemStyle | ViewPropTypes.style | | |
| iconStyle | Image.propTypes.style | | |

@@ -11,0 +11,0 @@ | selectedIconStyle | Image.propTypes.style | | |

@@ -7,8 +7,8 @@ # <PagerTitleIndicator /> Component Api

| titles | String Array | | |
| itemStyle | View.propTypes.style | | |
| itemStyle | ViewPropTypes.style | | |
| itemTextStyle | Text.propTypes.style | | |
| selectedItemTextStyle | Text.propTypes.style | | |
| selectedBorderStyle | View.propTypes.style | | |
| selectedBorderStyle | ViewPropTypes.style | | |
| renderTitle | function | | |
{
"name": "rn-viewpager",
"version": "1.2.4",
"version": "1.2.5",
"description": "ViewPager component for react-native, same api on both android and ios.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -8,3 +8,3 @@ /**

import PropTypes from 'prop-types'
import { StyleSheet, View } from 'react-native'
import { StyleSheet, View, ViewPropTypes } from 'react-native'
import IndicatorViewPager from '../IndicatorViewPager'

@@ -15,8 +15,8 @@

static propTypes = {
...View.propTypes,
...ViewPropTypes,
pageCount: PropTypes.number.isRequired,
initialPage: PropTypes.number,
pager: PropTypes.instanceOf(IndicatorViewPager),
dotStyle: View.propTypes.style,
selectedDotStyle: View.propTypes.style,
dotStyle: ViewPropTypes.style,
selectedDotStyle: ViewPropTypes.style,
hideSingle: PropTypes.bool

@@ -23,0 +23,0 @@ }

@@ -8,3 +8,3 @@ /**

import PropTypes from 'prop-types'
import { StyleSheet, View, Image, Text, TouchableOpacity } from 'react-native'
import { StyleSheet, View, ViewPropTypes, Image, Text, TouchableOpacity } from 'react-native'
import IndicatorViewPager from '../IndicatorViewPager'

@@ -14,3 +14,3 @@

static propTypes = {
...View.propTypes,
...ViewPropTypes,
initialPage: PropTypes.number,

@@ -23,4 +23,4 @@ pager: PropTypes.instanceOf(IndicatorViewPager),

})).isRequired,
itemStyle: View.propTypes.style,
selectedItemStyle: View.propTypes.style,
itemStyle: ViewPropTypes.style,
selectedItemStyle: ViewPropTypes.style,
iconStyle: Image.propTypes.style,

@@ -27,0 +27,0 @@ selectedIconStyle: Image.propTypes.style,

@@ -9,3 +9,3 @@ /**

import PropTypes from 'prop-types'
import { StyleSheet, View, Text, TouchableOpacity } from 'react-native'
import { StyleSheet, View, ViewPropTypes, Text, TouchableOpacity } from 'react-native'
import IndicatorViewPager from '../IndicatorViewPager'

@@ -15,11 +15,11 @@

static propTypes = {
...View.propTypes,
...ViewPropTypes,
initialPage: PropTypes.number,
pager: PropTypes.instanceOf(IndicatorViewPager),
titles: PropTypes.arrayOf(PropTypes.string).isRequired,
itemStyle: View.propTypes.style,
selectedItemStyle: View.propTypes.style,
itemStyle: ViewPropTypes.style,
selectedItemStyle: ViewPropTypes.style,
itemTextStyle: Text.propTypes.style,
selectedItemTextStyle: Text.propTypes.style,
selectedBorderStyle: View.propTypes.style,
selectedBorderStyle: ViewPropTypes.style,
renderTitle: PropTypes.func

@@ -26,0 +26,0 @@ }

@@ -9,3 +9,3 @@ /**

import PropTypes from 'prop-types'
import { StyleSheet, View } from 'react-native'
import { StyleSheet, View, ViewPropTypes } from 'react-native'
import ViewPager from './ViewPager'

@@ -19,3 +19,3 @@

indicator: PropTypes.node,
pagerStyle: View.propTypes.style,
pagerStyle: ViewPropTypes.style,
autoPlayEnable: PropTypes.bool,

@@ -22,0 +22,0 @@ autoPlayInterval: PropTypes.number,

Sorry, the diff of this file is not supported yet

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