You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-native-select-multiple

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-select-multiple - npm Package Compare versions

Comparing version

to
1.1.3

src/style.js

8

package.json
{
"name": "react-native-select-multiple",
"version": "1.1.2",
"version": "1.1.3",
"description": "A customiseable ListView that allows you to select multiple rows",
"main": "src/SelectMultiple.js",
"scripts": {
"test": "standard"
"test": "standard && tape test/*.test.js"
},

@@ -32,3 +32,5 @@ "keywords": [

"babel-eslint": "^8.0.1",
"standard": "^10.0.3"
"reify": "^0.12.3",
"standard": "^10.0.3",
"tape": "^4.8.0"
},

@@ -35,0 +37,0 @@ "standard": {

@@ -7,2 +7,3 @@ import React, { Component } from 'react'

import checkboxChecked from '../images/icon-checkbox-checked.png'
import { mergeStyles } from './style'

@@ -110,8 +111,2 @@ const itemType = PropTypes.oneOfType([

mergeStyles (styles1, styles2) {
styles1 = styles1 == null ? [] : styles1
styles1 = Array.isArray(styles1) ? styles1 : [styles1]
return styles2 == null ? styles1 : styles1.concat(styles2)
}
render () {

@@ -139,4 +134,2 @@ const { dataSource } = this.state

const { mergeStyles } = this
if (row.selected) {

@@ -143,0 +136,0 @@ checkboxSource = selectedCheckboxSource