Skip to content

Commit 82c0abf

Browse files
authored
Correct the file path for the Button story (#9325)
Correct the file path for the Button story
2 parents 7393fc1 + 5db1f17 commit 82c0abf

File tree

13 files changed

+18
-18
lines changed

13 files changed

+18
-18
lines changed

addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.enzyme.test.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ exports[`Storyshots Welcome MDX to Storybook 1`] = `
246246
}
247247
}
248248
>
249-
src/stories/index.js
249+
src/stories/1-Button.stories.js
250250
</code>
251251
</InlineCode>
252252
.)
@@ -450,7 +450,7 @@ exports[`Storyshots Welcome to Storybook 1`] = `
450450
}
451451
}
452452
>
453-
src/stories/index.js
453+
src/stories/1-Button.stories.js
454454
</code>
455455
</InlineCode>
456456
.)

addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.shallow.test.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ exports[`Storyshots Welcome MDX to Storybook 1`] = `
139139
</InlineCode>
140140
stories located at 
141141
<InlineCode>
142-
src/stories/index.js
142+
src/stories/1-Button.stories.js
143143
</InlineCode>
144144
.)
145145
</p>
@@ -213,7 +213,7 @@ exports[`Storyshots Welcome to Storybook 1`] = `
213213
</InlineCode>
214214
stories located at 
215215
<InlineCode>
216-
src/stories/index.js
216+
src/stories/1-Button.stories.js
217217
</InlineCode>
218218
.)
219219
</p>

addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.shallowWithOptions.test.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ exports[`Storyshots Welcome MDX to Storybook 1`] = `
139139
</InlineCode>
140140
stories located at 
141141
<InlineCode>
142-
src/stories/index.js
142+
src/stories/1-Button.stories.js
143143
</InlineCode>
144144
.)
145145
</p>
@@ -213,7 +213,7 @@ exports[`Storyshots Welcome to Storybook 1`] = `
213213
</InlineCode>
214214
stories located at 
215215
<InlineCode>
216-
src/stories/index.js
216+
src/stories/1-Button.stories.js
217217
</InlineCode>
218218
.)
219219
</p>

addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.snapshotWithOptionsFunction.test.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ exports[`Storyshots Welcome MDX to Storybook 1`] = `
213213
}
214214
}
215215
>
216-
src/stories/index.js
216+
src/stories/1-Button.stories.js
217217
</code>
218218
.)
219219
</p>
@@ -387,7 +387,7 @@ exports[`Storyshots Welcome to Storybook 1`] = `
387387
}
388388
}
389389
>
390-
src/stories/index.js
390+
src/stories/1-Button.stories.js
391391
</code>
392392
.)
393393
</p>

addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.foo

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ exports[`Storyshots Welcome to Storybook 1`] = `
117117
}
118118
}
119119
>
120-
src/stories/index.js
120+
src/stories/1-Button.stories.js
121121
</code>
122122
.)
123123
</p>

addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.storyshot

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ exports[`Storyshots Welcome MDX to Storybook 1`] = `
117117
}
118118
}
119119
>
120-
src/stories/index.js
120+
src/stories/1-Button.stories.js
121121
</code>
122122
.)
123123
</p>
@@ -291,7 +291,7 @@ exports[`Storyshots Welcome to Storybook 1`] = `
291291
}
292292
}
293293
>
294-
src/stories/index.js
294+
src/stories/1-Button.stories.js
295295
</code>
296296
.)
297297
</p>

app/react/src/demo/Welcome.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const Welcome: FunctionComponent<WelcomeProps> = ({ showApp }) => (
151151
You can also edit those components and see changes right away.
152152
<br />
153153
(Try editing the <InlineCode>Button</InlineCode> stories located at&nbsp;
154-
<InlineCode>src/stories/index.js</InlineCode>
154+
<InlineCode>src/stories/1-Button.stories.js</InlineCode>
155155
.)
156156
</p>
157157
<p>

examples/mithril-kitchen-sink/src/Welcome.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const Welcome = {
109109
You can also edit those components and see changes right away.
110110
<br />
111111
(Try editing the <InlineCode>Button</InlineCode> stories located at&nbsp;
112-
<InlineCode>src/stories/index.js</InlineCode>
112+
<InlineCode>src/stories/1-Button.stories.js</InlineCode>
113113
.)
114114
</p>
115115
<p>

examples/preact-kitchen-sink/src/Welcome.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const Welcome = ({ showApp }) => (
112112
You can also edit those components and see changes right away.
113113
<br />
114114
(Try editing the <InlineCode>Button</InlineCode> stories located at&nbsp;
115-
<InlineCode>src/stories/index.js</InlineCode>
115+
<InlineCode>src/stories/1-Button.stories.js</InlineCode>
116116
.)
117117
</p>
118118
<p>

examples/preact-kitchen-sink/src/stories/__snapshots__/welcome.stories.storyshot

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ exports[`Storyshots Welcome to Storybook 1`] = `
128128
}
129129
}
130130
>
131-
src/stories/index.js
131+
src/stories/1-Button.stories.js
132132
</code>
133133
.)
134134
</p>

lib/cli/generators/MITHRIL/template-csf/stories/Welcome.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const Welcome = {
150150
You can also edit those components and see changes right away.
151151
<br />
152152
(Try editing the <InlineCode>Button</InlineCode> stories located at&nbsp;
153-
<InlineCode>src/stories/index.js</InlineCode>
153+
<InlineCode>src/stories/1-Button.stories.js</InlineCode>
154154
.)
155155
</p>
156156
<p>

lib/cli/generators/PREACT/template-csf/stories/Welcome.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const Welcome = ({ showApp }) => (
101101
You can also edit those components and see changes right away.
102102
<br />
103103
(Try editing the <InlineCode>Button</InlineCode> stories located at&nbsp;
104-
<InlineCode>src/stories/index.js</InlineCode>
104+
<InlineCode>src/stories/1-Button.stories.js</InlineCode>
105105
.)
106106
</p>
107107
<p>

lib/cli/generators/RAX/template-csf/stories/Welcome.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const Welcome = ({ showApp }) => (
9292
<P>
9393
Just like that, you can add your own components as stories. You can also edit those components
9494
and see changes right away. (Try editing the <InlineCode>Button</InlineCode> stories located
95-
at <InlineCode>src/stories/index.js</InlineCode>
95+
at <InlineCode>src/stories/1-Button.stories.js</InlineCode>
9696
.)
9797
</P>
9898
<P>

0 commit comments

Comments
 (0)