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

@types/react-input-autosize

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-input-autosize - npm Package Compare versions

Comparing version 1.2.1 to 2.0.0

23

react-input-autosize/index.d.ts

@@ -1,4 +0,5 @@

// Type definitions for react-input-autosize 1.2
// Type definitions for react-input-autosize 2.0
// Project: https://github.com/JedWatson/react-input-autosize#readme
// Definitions by: Jason Unger <https://github.com/jsonunger>
// Frank Li <https://github.com/franklixuefei>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -9,17 +10,15 @@ // TypeScript Version: 2.8

declare namespace AutosizeInput {
interface AutosizeInputProps extends React.InputHTMLAttributes<HTMLInputElement>, React.ClassAttributes<HTMLInputElement> {
inputClassName?: string;
inputRef?: React.Ref<HTMLInputElement>;
inputStyle?: React.CSSProperties;
minWidth?: string | number;
onAutosize?: (inputWidth: string | number) => void;
placeholderIsMinWidth?: boolean;
}
export interface AutosizeInputProps extends React.InputHTMLAttributes<HTMLInputElement>, React.ClassAttributes<HTMLInputElement> {
inputClassName?: string;
inputRef?: React.Ref<HTMLInputElement>;
inputStyle?: React.CSSProperties;
minWidth?: string | number;
onAutosize?: (inputWidth: string | number) => void;
placeholderIsMinWidth?: boolean;
}
declare class AutosizeInput extends React.Component<AutosizeInput.AutosizeInputProps> {
declare class AutosizeInput extends React.Component<AutosizeInputProps> {
getInput(): HTMLInputElement;
}
export = AutosizeInput;
export default AutosizeInput;
{
"name": "@types/react-input-autosize",
"version": "1.2.1",
"version": "2.0.0",
"description": "TypeScript definitions for react-input-autosize",

@@ -11,2 +11,7 @@ "license": "MIT",

"githubUsername": "jsonunger"
},
{
"name": "Frank Li",
"url": "https://github.com/franklixuefei",
"githubUsername": "franklixuefei"
}

@@ -23,4 +28,4 @@ ],

},
"typesPublisherContentHash": "959fe559879eeab238df3c7ae9a0901e593585f8b8647f903d2d0d00c91556b1",
"typesPublisherContentHash": "8223ef68c5e9e13dbfda835acc1cb7369aff560fe766adfb3528a53fb60e6180",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 06 Aug 2018 21:55:26 GMT
* Last updated: Sat, 25 Aug 2018 01:04:12 GMT
* Dependencies: react

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Jason Unger <https://github.com/jsonunger>.
These definitions were written by Jason Unger <https://github.com/jsonunger>, Frank Li <https://github.com/franklixuefei>.
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