File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { PARAM_KEY } from "./constants";
1818
1919const preview : ProjectAnnotations < Renderer > = {
2020 parameters : {
21- [ PARAM_KEY . REPO ] : ` https://github.com/stackblitz/docs` ,
21+ repositoryUrl : ' https://github.com/sulco/viteconf-storybook-demo' ,
2222 }
2323} ;
2424
Original file line number Diff line number Diff line change @@ -2,33 +2,29 @@ import type { Meta, StoryObj } from "@storybook/react";
22
33import { Button } from "./Button" ;
44
5- // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
65const meta : Meta < typeof Button > = {
76 title : "Example/Button" ,
87 component : Button ,
9- // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
108 argTypes : {
119 backgroundColor : { control : "color" } ,
1210 } ,
1311 tags : [ "autodocs" ] ,
1412 parameters : {
15- // repositoryUrl: `https://github.com/stackblitz/docs `,
13+ repositoryUrl : `https://github.com/sulco/viteconf-storybook-demo ` ,
1614 } ,
1715} ;
1816
1917export default meta ;
2018type Story = StoryObj < typeof Button > ;
2119
22- // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
2320export const Primary : Story = {
24- // More on args: https://storybook.js.org/docs/react/writing-stories/args
2521 args : {
2622 primary : true ,
2723 label : "Button" ,
2824 } ,
2925 parameters : {
30- // repositoryUrl: ` https://github.com/stackblitz/docs`
31- filePath : 'docs/links.ts '
26+ repositoryUrl : ' https://github.com/sulco/viteconf-storybook-demo' ,
27+ filePath : 'src/stories/Button.jsx '
3228 }
3329} ;
3430
You can’t perform that action at this time.
0 commit comments