mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 10:21:07 +08:00
REMOVE deprecated APIs from addon/viewport
This commit is contained in:
parent
8dc7a7c93c
commit
612353a345
@ -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": "*",
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user