REMOVE deprecated APIs from addon/viewport

This commit is contained in:
Norbert de Langen 2020-03-26 10:31:46 +01:00
parent 8dc7a7c93c
commit 612353a345
No known key found for this signature in database
GPG Key ID: 976651DA156C2825
2 changed files with 1 additions and 10 deletions

View File

@ -39,11 +39,7 @@
"global": "^4.3.2",
"memoizerific": "^1.11.3",
"prop-types": "^15.7.2",
"regenerator-runtime": "^0.13.3",
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@types/util-deprecate": "^1.0.0"
"regenerator-runtime": "^0.13.3"
},
"peerDependencies": {
"react": "*",

View File

@ -1,6 +1 @@
import deprecate from 'util-deprecate';
export { INITIAL_VIEWPORTS, DEFAULT_VIEWPORT, MINIMAL_VIEWPORTS } from '../defaults';
export const configureViewport = deprecate(() => {},
'configureViewport is no longer supported, use .addParameters({ viewport }) instead');