Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #8 from dclark27/Storybook_5.0.6_Upgrade
Browse files Browse the repository at this point in the history
Adding Tachyons for styles
  • Loading branch information
Devin Clark authored Apr 9, 2019
2 parents bf4d5ed + 6c65b77 commit deb64d8
Show file tree
Hide file tree
Showing 5 changed files with 750 additions and 215 deletions.
2 changes: 2 additions & 0 deletions .storybook/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { configure, addDecorator } from '@storybook/react';
import { withInfo } from '@storybook/addon-info';
import { withKnobs } from '@storybook/addon-knobs';
import "../node_modules/tachyons/css/tachyons.css"

const req = require.context('../stories', true, /.stories.tsx$/);

Expand All @@ -11,4 +12,5 @@ function loadStories() {
addDecorator(withInfo());
addDecorator(withKnobs);


configure(loadStories, module);
2 changes: 1 addition & 1 deletion .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require("path");
module.exports = ({config}) => {

config.module.rules.push({
test: /\.tsx$/,
test: /\.(ts|tsx)$/,
loaders: ['awesome-typescript-loader', 'react-docgen-typescript-loader'],
include: path.resolve(__dirname, '../'),
});
Expand Down
Loading

0 comments on commit deb64d8

Please sign in to comment.