Last active
June 28, 2021 09:35
-
-
Save tidusia/cd10313f59b9c3107d09ec817782a9a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { Meta, Story } from "@storybook/react"; | |
import MyComponent, { MyComponentProps } from "."; | |
export default { | |
title: "MyComponent", | |
component: MyComponent, | |
decorators: [(story) => story()], | |
} as Meta; | |
const Template: Story<MyComponentProps> = (args) => <MyComponent {...args} />; | |
export const Default = Template.bind({}); | |
Default.args = {}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment