ink-select-input
Advanced tools
Comparing version 1.1.0 to 2.0.0
'use strict'; | ||
const { h, Text, Component } = require('ink'); | ||
const { h, Color, Component } = require('ink'); | ||
const PropTypes = require('prop-types'); | ||
@@ -17,3 +17,3 @@ const isEqual = require('lodash.isequal'); | ||
return h( | ||
Text, | ||
Color, | ||
{ blue: true }, | ||
@@ -29,3 +29,3 @@ `${figures.pointer} ` | ||
const Item = ({ isSelected, label }) => h( | ||
Text, | ||
Color, | ||
{ blue: isSelected }, | ||
@@ -32,0 +32,0 @@ label |
{ | ||
"name": "ink-select-input", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "Select input component for Ink", | ||
@@ -42,3 +42,3 @@ "license": "MIT", | ||
"eslint-plugin-react": "^7.1.0", | ||
"ink": "^0.4.1", | ||
"ink": "^0.5.0", | ||
"sinon": "^4.4.9", | ||
@@ -85,3 +85,4 @@ "xo": "^0.20.3" | ||
"rules": { | ||
"react/no-unused-prop-types": 1 | ||
"react/no-unused-prop-types": 1, | ||
"react/no-deprecated": 1 | ||
}, | ||
@@ -88,0 +89,0 @@ "settings": { |
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
7507