52 Commits

Author SHA1 Message Date
jonniebigodes
ed2dd55b9f
Merge pull request #12487 from storybookjs/fix_12316
Fixes issue 12316
2020-09-21 17:33:27 +01:00
Gert Hengeveld
7a27b126c7
Add missing whitespace 2020-09-18 11:33:07 +02:00
jonniebigodes
6f16bc896a
Merge pull request #12363 from brendanrygus/docs/component-story-with-query
[Docs] Fix React workflows - mocking providers code sample syntax
2020-09-15 21:58:34 +01:00
jonniebigodes
0c799fc4fb Fixes issue 12316 2020-09-15 21:25:58 +01:00
Michael Shilman
966a7ddd02
Merge pull request #12409 from uoon-dev/patch-1
Fix button-story-using-args.*.mdx and button-story-with-emojis.*.mdx
2020-09-08 17:08:06 +08:00
uoon-dev
1b8db791c8 fix incorrect assign mark 2020-09-08 13:34:29 +09:00
Danilo Cabello
7dff362685
Remove comment that does not apply to CDN
It was copied from another code sample.
2020-09-07 15:03:29 -04:00
rangle-brendan
e472e3d9b6 Fix indentation 2020-09-02 20:17:03 -04:00
rangle-brendan
6952820f4b [Docs] Fix mocking providers code sample syntax 2020-09-02 20:12:19 -04:00
Arkadiusz Adamski
e1444a3028
[docs] Fix single quote instead of backtick
# What I did
I replaced backticks by single quote.

# How to test
No backticks in the snippet.
2020-08-27 15:25:25 +02:00
Michael Shilman
901d8aa0a7
Merge pull request #12196 from DaleSeo/consistnet-link-breaks
Consistent Link Breaks in Code Examples
2020-08-23 05:21:04 +08:00
Dale Seo
edea13ff26 fix indents 2020-08-22 16:55:57 -04:00
Dale Seo
007fac68a7 consistent link breaks 2020-08-22 16:49:17 -04:00
David Jerabek
26c69aa406 fix: duplicate line in snippet 2020-08-19 12:08:31 +02:00
Michael Shilman
250dbf3485 reorder imports 2020-08-19 10:28:33 +08:00
Michael Shilman
326de7b5f4 Merge branch 'next' into fix_minor_tweaks_docs 2020-08-19 10:27:47 +08:00
jonniebigodes
681725360a more tweaks to the snippets 2020-08-18 17:30:56 +01:00
Tom Coleman
f43be2a334
Update button-test.js.mdx
See https://github.com/storybookjs/storybook/issues/12079

We never shipped `renderStory` and this change got lost in the mix.
2020-08-18 16:47:06 +10:00
Michael Shilman
eeeb4d8b96
Merge pull request #12063 from cabello/patch-1
Add Story type to example
2020-08-17 21:44:44 +08:00
Danilo Cabello
3e3e7c38f1
Update docs/snippets/react/button-story-with-args.ts.mdx
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-08-17 09:39:07 -04:00
Norbert de Langen
975ad539cb
Merge pull request #12002 from virat21/patch-6
As we are using JSX syntax. we should use .tsx [documentation] [patch]
2020-08-17 12:35:26 +02:00
Danilo Cabello
90a53e6745
Add Story type to example 2020-08-16 13:04:10 -04:00
thomasJs8
a34a7564e9 added an import statement 2020-08-15 11:59:26 +09:00
jonniebigodes
8c58d6389e chore: snippets quality of life 2020-08-14 21:46:15 +01:00
Virat Patel
ce6b01dfd8
As we are using JSX syntax. we should use .tsx
As we are using JSX syntax. we should use .tsx as the file extension
2020-08-14 02:46:01 +05:30
jonniebigodes
295f7808f2
Merge pull request #11997 from virat21/patch-5
Fixed typo: replaced single ” to "
2020-08-13 21:04:40 +01:00
jonniebigodes
d1fadce355
Merge pull request #11998 from virat21/patch-4
Fixed typo: replaced single ” to "
2020-08-13 21:02:07 +01:00
Virat Patel
612889aa3a
Fixed typo: replaced single ” to " 2020-08-14 01:09:29 +05:30
Virat Patel
73747bac64
Fixed typo: replaced single ” to " 2020-08-14 01:08:11 +05:30
Virat Patel
241c89a357
Little Typo error Fixed 2020-08-14 00:54:43 +05:30
Virat Patel
20807b68bf
Fixing little typo! 2020-08-13 19:09:06 +05:30
domyen
5d7731a230 replace inline code with code snippets 2020-08-11 11:20:57 -04:00
Michael Shilman
30d685cf05
Merge pull request #11877 from storybookjs/chore_add_api_section_snippets
Chore: add snippets for api section
2020-08-11 12:13:12 +08:00
jonniebigodes
d8180f0ec7 component-story-with-query was adjusted.
Now is using a template
2020-08-11 03:57:14 +01:00
jonniebigodes
2581f631a1 api section feedback changes 2020-08-11 02:51:40 +01:00
jonniebigodes
99aa694e9d initial snippets for api section 2020-08-11 01:11:41 +01:00
jonniebigodes
bc293cd7c7 initial commit for worflows 2020-08-10 19:23:38 +01:00
Michael Shilman
1f9d9fc1c0 Merge branch '6.0-docs' into docs/random-fixes 2020-08-10 16:10:03 +08:00
Michael Shilman
030a63c237 Random proof reading 2020-08-10 13:02:44 +08:00
Tom Coleman
75ba659959 Merge remote-tracking branch 'origin/6.0-docs' into chore_add_snippets_writing_docs 2020-08-10 14:09:04 +10:00
Tom Coleman
a409a5761c Merge remote-tracking branch 'origin/6.0-docs' into chore_add_writing_stories_snippets 2020-08-10 14:06:32 +10:00
Tom Coleman
fd9d58de98
Merge pull request #11826 from storybookjs/chore_add_get_started_snippets
Chore: adds snippets for get started section for 6.0
2020-08-10 10:07:22 +10:00
Tom Coleman
e975e25569
Merge pull request #11842 from storybookjs/chore_add_configure_snippets
Chore add snippets for configure section for 6.0
2020-08-10 10:06:52 +10:00
jonniebigodes
164753b4cd
Merge branch '6.0-docs' into chore_add_get_started_snippets 2020-08-09 21:54:48 +01:00
jonniebigodes
e16310aae5 snippets adjusted per feedback 2020-08-09 20:26:34 +01:00
jonniebigodes
1f72e9e098 snippets adjusted per feedback 2020-08-09 19:26:47 +01:00
jonniebigodes
d9557972ce initial commit for snippets for writing docs 2020-08-08 03:33:41 +01:00
jonniebigodes
99f2910532 writing docs section code snippets 2020-08-07 17:05:17 +01:00
jonniebigodes
589d7da064 moved styled components snippet to correct place.
Adjusted page
2020-08-07 02:48:41 +01:00
jonniebigodes
6e66cfeb59 adds snippets for get-started section 2020-08-06 19:03:05 +01:00