react-viewer
Advanced tools
Comparing version 2.5.2 to 2.5.3
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
@@ -14,3 +13,3 @@ export declare enum ActionType { | ||
scaleY = 10, | ||
download = 11, | ||
download = 11 | ||
} | ||
@@ -17,0 +16,0 @@ export interface IconProps { |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
@@ -3,0 +2,0 @@ export interface LoadingProps { |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
@@ -3,0 +2,0 @@ import ViewerProps from './ViewerProps'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
@@ -3,0 +2,0 @@ export interface ViewerCanvasProps { |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
@@ -6,2 +5,3 @@ import './style/index.less'; | ||
import { ActionType } from './Icon'; | ||
declare function noop(): void; | ||
export interface ViewerCoreState { | ||
@@ -26,3 +26,3 @@ visible?: boolean; | ||
visible: boolean; | ||
onClose: () => void; | ||
onClose: typeof noop; | ||
images: any[]; | ||
@@ -36,3 +36,3 @@ activeIndex: number; | ||
scalable: boolean; | ||
onMaskClick: () => void; | ||
onMaskClick: typeof noop; | ||
changeable: boolean; | ||
@@ -78,1 +78,2 @@ customToolbar: (toolbars: any) => any; | ||
} | ||
export {}; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
@@ -3,0 +2,0 @@ import { ImageDecorator } from './ViewerProps'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
@@ -3,0 +2,0 @@ import { ToolbarConfig } from './ViewerProps'; |
{ | ||
"name": "react-viewer", | ||
"version": "2.5.2", | ||
"version": "2.5.3", | ||
"description": "react image viewer", | ||
@@ -62,4 +62,3 @@ "main": "dist/index", | ||
"dependencies": { | ||
"classnames": "^2.2.5", | ||
"rc-table": "^6.2.7" | ||
"classnames": "^2.2.5" | ||
}, | ||
@@ -66,0 +65,0 @@ "pre-commit": [ |
Sorry, the diff of this file is not supported yet
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
1
203098
3005
- Removedrc-table@^6.2.7
- Removedadd-dom-event-listener@1.1.0(transitive)
- Removedcomponent-classes@1.2.6(transitive)
- Removedcomponent-indexof@0.0.3(transitive)
- Removedhoist-non-react-statics@2.5.5(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedmini-store@2.0.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedrc-table@6.10.15(transitive)
- Removedrc-util@4.21.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-dom@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedreact-lifecycles-compat@3.0.4(transitive)
- Removedscheduler@0.19.1(transitive)
- Removedshallowequal@1.1.0(transitive)