ink-text-input
Advanced tools
Comparing version 1.1.1 to 2.0.0
'use strict'; | ||
const { h, Text, Component } = require('ink'); | ||
const { h, Color, Component } = require('ink'); | ||
const PropTypes = require('prop-types'); | ||
@@ -20,3 +20,3 @@ const hasAnsi = require('has-ansi'); | ||
return h( | ||
Text, | ||
Color, | ||
{ dim: !hasValue }, | ||
@@ -23,0 +23,0 @@ hasValue ? value : placeholder |
{ | ||
"name": "ink-text-input", | ||
"version": "1.1.1", | ||
"version": "2.0.0", | ||
"description": "Text input component for Ink", | ||
@@ -47,3 +47,3 @@ "license": "MIT", | ||
"eslint-plugin-react": "^7.1.0", | ||
"ink": "^0.2.1", | ||
"ink": "^0.5.0", | ||
"sinon": "^2.3.6", | ||
@@ -50,0 +50,0 @@ "xo": "^0.18.2" |
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
5283