react-input-completion
Advanced tools
Comparing version 0.0.10 to 0.0.11
{ | ||
"name": "react-input-completion", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "A cross-browser autocomplete component for React", | ||
@@ -5,0 +5,0 @@ "repository": "https://www.github.com/imcnally/react-input-completion", |
@@ -30,2 +30,3 @@ 'use strict'; | ||
option: 'ric-option', | ||
optionSelected: 'ric-option ric-option--selected', | ||
wrapper: 'ric-wrapper' | ||
@@ -100,6 +101,7 @@ }; | ||
var onMouseDown = _this.onFallbackOptionClick.bind(_this, option); | ||
var className = isSelected ? styleClasses.optionSelected : styleClasses.option; | ||
return _react2['default'].createElement( | ||
'li', | ||
{ 'aria-selected': isSelected, className: styleClasses.option, | ||
{ 'aria-selected': isSelected, className: className, | ||
key: index, onMouseDown: onMouseDown, role: 'option' }, | ||
@@ -106,0 +108,0 @@ option |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11947
233