Norbert de Langen 341fc2d90d
FIX linting
2020-03-27 20:04:50 +01:00

15 lines
449 B
JavaScript

import React from 'react';
import { DocsContainer } from '@storybook/addon-docs/blocks';
import markdown from './markdown.stories.mdx';
export default {
title: 'Addons/Docs/mdx-in-story',
decorators: [(storyFn) => <DocsContainer context={{}}>{storyFn()}</DocsContainer>],
};
// This renders the contents of the docs panel into story content
export const Typography = () => {
const Docs = markdown.parameters.docs.page;
return <Docs />;
};