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

react-native-wheel-picker-android

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-wheel-picker-android - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

Tests/DatePicker.test.js

2

package.json
{
"name": "react-native-wheel-picker-android",
"version": "0.1.8",
"version": "0.1.9",
"description": "Simple Wheel Picker for Android to use with react-native",

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

@@ -13,9 +13,9 @@ import React from 'react';

test('component structure', (t) => {
t.is(wrapper.name(), 'WheelPicker'); // the right root component
t.is(wrapper.children().length, 0); // has 1 child
t.is(wrapper.name(), 'WheelPicker');
t.is(wrapper.children().length, 0);
});
test('data', (t) => {
test('props', (t) => {
const data = [1, 2, 3];
const wrapperPress = shallow(<WheelPicker isCyclic={false} isCurved isAtmospheric visibleItemCount={4} backgroundColor={'black'} data={data} />);
const wrapperPress = shallow(<WheelPicker selectedItemTextColor={'yellow'} itemSpace={39} renderIndicator indicatorColor={'grey'} curtainColor={'green'} itemTextColor={'white'} itemTextSize={23} selectedItemPosition={1} isCyclic={false} isCurved isAtmospheric visibleItemCount={4} backgroundColor={'black'} data={data} />);

@@ -28,2 +28,10 @@ t.is(wrapperPress.prop('data').length, 3);

t.is(wrapperPress.prop('backgroundColor'), 'black');
t.is(wrapperPress.prop('selectedItemPosition'), 1);
t.is(wrapperPress.prop('itemTextSize'), 23);
t.is(wrapperPress.prop('itemTextColor'), 'white');
t.is(wrapperPress.prop('curtainColor'), 'green');
t.is(wrapperPress.prop('renderIndicator'), true);
t.is(wrapperPress.prop('indicatorColor'), 'grey');
t.is(wrapperPress.prop('itemSpace'), 39);
t.is(wrapperPress.prop('selectedItemTextColor'), 'yellow');
});
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