storybook/docs/_snippets/nextjs-app-directory-in-preview.md
2024-11-17 16:46:37 +00:00

445 B

export default {
  // ...
  parameters: {
    // ...
    nextjs: {
      appDirectory: true,
    },
  },
};
import { Preview } from '@storybook/react';

const preview: Preview = {
  // ...
  parameters: {
    // ...
    nextjs: {
      appDirectory: true,
    },
  },
};

export default preview;