storybook/docs/snippets/react/button-story-default-export-with-component.ts.mdx
Norbert de Langen 84a4bde3f0
FIX
2020-12-09 14:42:24 +01:00

13 lines
229 B
Plaintext

```ts
// Button.stories.tsx
import React from 'react';
import { Meta } from '@storybook/react';
import { Button, ButtonProps } from './Button';
export default {
title: 'Components/Button',
component: Button,
} as Meta;
```