storybook/examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.js

12 lines
333 B
JavaScript

import React from 'react';
import { Button } from '@storybook/react/demo';
export default {
title: 'Addons|Docs/csf-with-mdx-docs',
component: Button,
includeStories: [], // or simply don't load this file at all
};
// eslint-disable-next-line react/prop-types
export const basic = ({ parameters }) => <Button>Basic</Button>;