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-select-multi

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-select-multi - npm Package Compare versions

Comparing version

to
0.0.3

3

package.json
{
"name": "react-select-multi",
"version": "0.0.2",
"version": "0.0.3",
"description": "React Multiple-Select Component",

@@ -14,2 +14,3 @@ "main": "lib/index.js",

"dependencies": {
"classnames": "^2.2.5",
"react": "^15.4.2",

@@ -16,0 +17,0 @@ "react-dom": "^15.4.2"

import React, { PropTypes, Component } from 'react';
import classNames from 'classnames';

@@ -52,2 +53,7 @@ const propTypes = {

const arrowStyles = {
'om-icon-descending': !this.state.isOpen,
'om-icon-ascending': this.state.isOpen,
};
return (

@@ -64,2 +70,3 @@ <div className={`${namespace}-select-multi__wrapper`}>

{this.state.options.filter(o => o.selected).map(o => o.display).join(', ')}
<span className={classNames(arrowStyles)} />
</div>

@@ -66,0 +73,0 @@

Sorry, the diff of this file is not supported yet