Skip to content

Commit

Permalink
Remove Storybook warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
baptwaels committed Aug 1, 2019
1 parent 01e6017 commit 037f2a0
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { configure } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
import { configure } from "@storybook/react";
import { setOptions } from "@storybook/addon-options";
import "./app.scss";


const req = require.context('../stories', true, /\.stories\.js$/);
const req = require.context("../stories", true, /\.stories\.js$/);

setOptions({
name: 'React Multi Select',
url: 'https://github.com/kenshoo/react-multi-select',
goFullScreen: false,
showLeftPanel: true,
showDownPanel: true,
showSearchBox: false,
downPanelInRight: false,
sortStoriesByKind: false,
name: "React Multi Select",
url: "https://github.com/kenshoo/react-multi-select",
goFullScreen: false,
showStoriesPanel: true,
showAddonPanel: true,
showSearchBox: false,
addonPanelInRight: false,
sortStoriesByKind: false
});

function loadStories() {
req.keys().forEach(req)
req.keys().forEach(req);
}

configure(loadStories, module);

0 comments on commit 037f2a0

Please sign in to comment.