@project-r/styleguide
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -110,2 +110,3 @@ 'use strict'; | ||
onChange = _props.onChange, | ||
name = _props.name, | ||
type = _props.type, | ||
@@ -134,3 +135,3 @@ sim = _props.simulate, | ||
containerStyle, | ||
_react2.default.createElement('input', _extends({ type: type, ref: this.inputRef, | ||
_react2.default.createElement('input', _extends({ name: name, type: type, ref: this.inputRef, | ||
onChange: onChange || function (event) { | ||
@@ -137,0 +138,0 @@ var v = event.target.value; |
{ | ||
"name": "@project-r/styleguide", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "glamor": "^2.20.24", |
@@ -75,3 +75,3 @@ import React, {Component} from 'react' | ||
render () { | ||
const {onChange, type, simulate: sim, label, error} = this.props | ||
const {onChange, name, type, simulate: sim, label, error} = this.props | ||
@@ -97,3 +97,3 @@ let simulations = {} | ||
<label {...containerStyle}> | ||
<input type={type} ref={this.inputRef} | ||
<input name={name} type={type} ref={this.inputRef} | ||
onChange={onChange || ((event) => { | ||
@@ -100,0 +100,0 @@ const v = event.target.value |
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
9424752
1547