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

react-validate-component

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-validate-component - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2-0

2

dist/index.d.ts
import * as React from 'react';
import { VINPUT_PARAMS } from './types/vinput';
export declare const VText: ({ maxLength, value, className, props, }: VINPUT_PARAMS) => React.JSX.Element;
export declare const VText: ({ maxLength, value, className, }: VINPUT_PARAMS) => React.JSX.Element;
export declare const VCheckbox: () => React.JSX.Element;

@@ -5,0 +5,0 @@ export declare const VRadio: () => React.JSX.Element;

@@ -11,11 +11,11 @@ 'use strict';

value = _ref.value,
className = _ref.className,
props = _ref.props;
return React.createElement("input", Object.assign({
type: "text"
}, props, {
className = _ref.className;
return React.createElement("input", {
type: "text",
// {...props}
className: className,
maxLength: maxLength,
value: value
}));
value: value,
placeholder: "this is react-validate-component test."
});
};

@@ -22,0 +22,0 @@ // Checkbox

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.VCheckbox=function(){return e.createElement("input",{type:"checkbox"})},exports.VColor=function(){return e.createElement("input",{type:"color"})},exports.VDate=function(){return e.createElement("input",{type:"date"})},exports.VEmail=function(){return e.createElement("input",{type:"email"})},exports.VRadio=function(){return e.createElement("input",{type:"radio"})},exports.VRange=function(){return e.createElement("input",{type:"range"})},exports.VText=function(t){return e.createElement("input",Object.assign({type:"text"},t.props,{className:t.className,maxLength:t.maxLength,value:t.value}))},exports.VUrl=function(){return e.createElement("input",{type:"url"})};
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.VCheckbox=function(){return e.createElement("input",{type:"checkbox"})},exports.VColor=function(){return e.createElement("input",{type:"color"})},exports.VDate=function(){return e.createElement("input",{type:"date"})},exports.VEmail=function(){return e.createElement("input",{type:"email"})},exports.VRadio=function(){return e.createElement("input",{type:"radio"})},exports.VRange=function(){return e.createElement("input",{type:"range"})},exports.VText=function(t){return e.createElement("input",{type:"text",className:t.className,maxLength:t.maxLength,value:t.value,placeholder:"this is react-validate-component test."})},exports.VUrl=function(){return e.createElement("input",{type:"url"})};
//# sourceMappingURL=react-validate-component.cjs.production.min.js.map

@@ -7,11 +7,11 @@ import { createElement } from 'react';

value = _ref.value,
className = _ref.className,
props = _ref.props;
return createElement("input", Object.assign({
type: "text"
}, props, {
className = _ref.className;
return createElement("input", {
type: "text",
// {...props}
className: className,
maxLength: maxLength,
value: value
}));
value: value,
placeholder: "this is react-validate-component test."
});
};

@@ -18,0 +18,0 @@ // Checkbox

{
"version": "0.0.1",
"version": "0.0.2-0",
"license": "MIT",

@@ -4,0 +4,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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