mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
REMOVE previously deprecated default export from backgrounds
This commit is contained in:
parent
9e7952ef99
commit
a7a5ae3fe1
@ -35,11 +35,6 @@ export const withBackgrounds = makeDecorator({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
export default deprecate(
|
|
||||||
withBackgrounds,
|
|
||||||
'The default export of @storybook/addon-backgrounds is deprecated, please `import { withBackgrounds }` instead'
|
|
||||||
);
|
|
||||||
|
|
||||||
if (module && module.hot && module.hot.decline) {
|
if (module && module.hot && module.hot.decline) {
|
||||||
module.hot.decline();
|
module.hot.decline();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user