docs/snippets/react/your-component.js.mdx
```js
// YourComponent.stories.js|jsx
import { YourComponent } from './YourComponent';
//π This default export determines where your story goes in the story list
export default {
/* π The title prop is optional.
* See https://storybook.js.org/docsreact/configure/overview#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'YourComponent',
component: YourComponent,
};
//π We create a βtemplateβ of how args map to rendering
const Template = (args) => <YourComponent {...args} />;
export const FirstStory = {
args: {
//π The args you need here will depend on your component
},
};
```