@types/react-resizable
Advanced tools
Comparing version
// Type definitions for react-resizable 3.0 | ||
// Project: https://github.com/STRML/react-resizable | ||
// Project: https://github.com/react-grid-layout/react-resizable | ||
// Definitions by: Harry Brrundage <https://github.com/airhorns> | ||
@@ -7,5 +7,5 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
import * as React from "react"; | ||
import * as React from 'react'; | ||
export type Axis = "both" | "x" | "y" | "none"; | ||
export type Axis = 'both' | 'x' | 'y' | 'none'; | ||
export type ResizeHandle = 's' | 'w' | 'e' | 'n' | 'sw' | 'nw' | 'se' | 'ne'; | ||
@@ -53,8 +53,6 @@ | ||
resizeHandles?: ResizeHandle[] | undefined; | ||
transformScale?: number; | ||
} | ||
export class Resizable extends React.Component< | ||
ResizableProps, | ||
ResizableState | ||
> { } | ||
export class Resizable extends React.Component<ResizableProps, ResizableState> {} | ||
@@ -68,5 +66,2 @@ export interface ResizableBoxState { | ||
export class ResizableBox extends React.Component< | ||
ResizableBoxProps, | ||
ResizableBoxState | ||
> { } | ||
export class ResizableBox extends React.Component<ResizableBoxProps, ResizableBoxState> {} |
{ | ||
"name": "@types/react-resizable", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "TypeScript definitions for react-resizable", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-resizable", | ||
}, | ||
"typesPublisherContentHash": "2894bc1c8f61d84942a2047eb87921421ef6a4098bff8709b3dcea84a55a1782", | ||
"typesPublisherContentHash": "ae26818ea4682608c11536aa143284cf212f5451da3da1a3d46a7277699ab0d0", | ||
"typeScriptVersion": "3.9" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for react-resizable (https://github.com/STRML/react-resizable). | ||
This package contains type definitions for react-resizable (https://github.com/react-grid-layout/react-resizable). | ||
@@ -13,3 +13,3 @@ # Details | ||
// Type definitions for react-resizable 3.0 | ||
// Project: https://github.com/STRML/react-resizable | ||
// Project: https://github.com/react-grid-layout/react-resizable | ||
// Definitions by: Harry Brrundage <https://github.com/airhorns> | ||
@@ -19,5 +19,5 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
import * as React from "react"; | ||
import * as React from 'react'; | ||
export type Axis = "both" | "x" | "y" | "none"; | ||
export type Axis = 'both' | 'x' | 'y' | 'none'; | ||
export type ResizeHandle = 's' | 'w' | 'e' | 'n' | 'sw' | 'nw' | 'se' | 'ne'; | ||
@@ -65,8 +65,6 @@ | ||
resizeHandles?: ResizeHandle[] | undefined; | ||
transformScale?: number; | ||
} | ||
export class Resizable extends React.Component< | ||
ResizableProps, | ||
ResizableState | ||
> { } | ||
export class Resizable extends React.Component<ResizableProps, ResizableState> {} | ||
@@ -80,6 +78,3 @@ export interface ResizableBoxState { | ||
export class ResizableBox extends React.Component< | ||
ResizableBoxProps, | ||
ResizableBoxState | ||
> { } | ||
export class ResizableBox extends React.Component<ResizableBoxProps, ResizableBoxState> {} | ||
@@ -89,3 +84,3 @@ ```` | ||
### Additional Details | ||
* Last updated: Wed, 18 May 2022 13:31:33 GMT | ||
* Last updated: Tue, 07 Jun 2022 14:31:31 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -92,0 +87,0 @@ * Global values: none |
6787
0.5%54
-8.47%85
-5.56%