Skip to content

Commit

Permalink
fix typescript module error
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDraex committed Aug 23, 2021
1 parent 3a1bd7c commit b30b8c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .storybook/Markdown.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '*.md';
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import * as React from 'react';
import { Button, ButtonProps } from '../../Button';
import { Meta } from '@storybook/react';
import { CalendarMonth24Regular } from '@fluentui/react-icons';
import descriptionMdx from './ButtonDescription.md';
import bestPracticesMdx from './ButtonBestPractices.md';
import descriptionMd from './ButtonDescription.md';
import bestPracticesMd from './ButtonBestPractices.md';

export const Default = (props: ButtonProps) => <Button {...props}>Button</Button>;

Expand Down Expand Up @@ -170,7 +170,7 @@ export default {
parameters: {
docs: {
description: {
component: [descriptionMdx, bestPracticesMdx].join('\n'),
component: [descriptionMd, bestPracticesMd].join('\n'),
},
},
},
Expand Down

0 comments on commit b30b8c2

Please sign in to comment.