Skip to content

Commit

Permalink
Merge pull request #10 from AirWalk-Digital/fix/build-errors
Browse files Browse the repository at this point in the history
fix: update stories imports causing build errors
  • Loading branch information
PAYNEA03 authored Jan 2, 2024
2 parents afab420 + fbf4ab0 commit 9aeeb50
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions stories/mdx/Mermaid.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use client";
import React from 'react';
import { Mermaid } from 'mdx-mermaid/Mermaid';
import { Mermaid } from 'mdx-mermaid/lib/Mermaid';
import { StoryObj, Meta } from '@storybook/react';
import { Wrapper} from './utils/mdxify';

const meta: Meta<typeof Alert> = {
const meta: Meta<typeof Mermaid> = {
title: 'Visualisation/Mermaid',
component: Mermaid,
//👇 Enables auto-generated documentation for the component story
Expand Down
6 changes: 4 additions & 2 deletions stories/mdx/Presentation.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import { PresentationOutput }from '@/components/layouts/PresentationOutput';
import { PresentationOutput } from '@/components/layouts/PresentationOutput';
import { StoryObj, Meta } from '@storybook/react';
import { Wrapper} from './utils/mdxify';

const meta: Meta<typeof PresentationOutput> = {
title: 'Pages/Presentation',
component: PresentationOutput,
tags: ['autodocs'],
argTypes: { zoom: { control: 'select', options: ['ppt', 'a4', 'storybook'] } },
argTypes: {
// zoom: { control: 'select', options: ['ppt', 'a4', 'storybook'] }
},
decorators: [
(Story, context) => (
<Wrapper context={context}>
Expand Down

0 comments on commit 9aeeb50

Please sign in to comment.