@project-r/styleguide
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -109,2 +109,3 @@ 'use strict'; | ||
sim = _props.simulate, | ||
ref = _props.ref, | ||
label = _props.label, | ||
@@ -131,3 +132,3 @@ error = _props.error; | ||
containerStyle, | ||
_react2.default.createElement('input', _extends({ type: type, | ||
_react2.default.createElement('input', _extends({ type: type, ref: ref, | ||
onChange: onChange || function (event) { | ||
@@ -134,0 +135,0 @@ var v = event.target.value; |
@@ -5,2 +5,3 @@ 'use strict'; | ||
var primary = exports.primary = '#3CAD00'; | ||
var primaryBg = exports.primaryBg = '#EBF6E5'; | ||
var secondary = exports.secondary = '#4B6359'; | ||
@@ -7,0 +8,0 @@ var disabled = exports.disabled = '#B7C1BD'; |
{ | ||
"name": "@project-r/styleguide", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "glamor": "^2.20.24", |
@@ -74,3 +74,3 @@ import React, {Component} from 'react' | ||
render () { | ||
const {onChange, type, simulate: sim, label, error} = this.props | ||
const {onChange, type, simulate: sim, ref, label, error} = this.props | ||
@@ -96,3 +96,3 @@ let simulations = {} | ||
<label {...containerStyle}> | ||
<input type={type} | ||
<input type={type} ref={ref} | ||
onChange={onChange || ((event) => { | ||
@@ -99,0 +99,0 @@ const v = event.target.value |
export const primary = '#3CAD00' | ||
export const primaryBg = '#EBF6E5' | ||
export const secondary = '#4B6359' | ||
@@ -3,0 +4,0 @@ export const disabled = '#B7C1BD' |
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
9424584
1543