Skip to content

Commit 279e9be

Browse files
committed
update stories to use storybook 6 main.js
1 parent 0090823 commit 279e9be

File tree

6 files changed

+12
-86
lines changed

6 files changed

+12
-86
lines changed

.storybook/addons.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

.storybook/config.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

.storybook/infoAddonDefaults.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

.storybook/main.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
stories: ['../stories/**/*Stories.tsx'],
5+
addons: [
6+
'@storybook/addon-docs',
7+
'@storybook/addon-actions',
8+
'@storybook/addon-knobs',
9+
'storycap',
10+
],
11+
};

.storybook/preview-head.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<script>
22
(function() {
33
var stylesheetUrl =
4-
(/\.sbook\.io$/.test(location.hostname) ? "//mashmatrix.github.io/react-lightning-design-system" :
5-
location.hostname === "mashmatrix.github.io" ? "/react-lightning-design-system" :
6-
"") +
4+
(location.hostname === "mashmatrix.github.io" ? "/react-lightning-design-system" : "") +
75
"/assets/styles/salesforce-lightning-design-system.min.css";
86
var link = document.createElement('link');
97
link.href = stylesheetUrl;

.storybook/webpack.config.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)