Skip to content

Instantly share code, notes, and snippets.

@trinwin
Last active August 2, 2020 00:53
Show Gist options
  • Save trinwin/fe8d4469d777add2089f8958bc77dcc3 to your computer and use it in GitHub Desktop.
Save trinwin/fe8d4469d777add2089f8958bc77dcc3 to your computer and use it in GitHub Desktop.
const path = require("path");
module.exports = {
stories: ["../components/**/*.stories.tsx"],
addons: ["@storybook/preset-typescript"],
// Add nextjs preset
presets: [path.resolve(__dirname, "./next-preset.js")],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment