Commit 26c1f668 authored by Andrey Azov's avatar Andrey Azov
Browse files

Update storybook config

Remove the `withNotes` decorator because it is:
- deprecated
- completely unnecessary (according to the docs, it's sufficient
  to just register the notes addon)
parent 0d6a36cc
Pipeline #15285 failed with stage
in 2 minutes and 56 seconds
import { configure, addParameters, addDecorator } from '@storybook/react';
import { withNotes } from '@storybook/addon-notes';
function loadStories() {
require('../stories/index.tsx');
......@@ -13,6 +12,4 @@ addParameters({
},
});
addDecorator(withNotes);
configure(loadStories, module);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment