Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@project-r/styleguide

Package Overview
Dependencies
Maintainers
3
Versions
689
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@project-r/styleguide - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

3

lib/components/Form/Field.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc