71 Commits

Author SHA1 Message Date
jonniebigodes
c32934bb0f initial commit for the writing stories section 2021-10-05 02:08:12 +01:00
jonniebigodes
ba1c61112f addresses Michael feedback 2021-09-06 22:03:15 +01:00
jonniebigodes
0c9f8e7aaf change to named exports and QOL adjustments 2021-09-03 23:31:04 +01:00
jonniebigodes
c95cfa5db0
Update docs/snippets/react/button-story-with-addon-example.js.mdx
Co-authored-by: Deen <deen@chromatic.com>
2021-08-31 18:54:24 +01:00
jonniebigodes
e0c0da64d7
Update docs/snippets/react/button-story-decorator.story-function.js.mdx
Co-authored-by: Deen <deen@chromatic.com>
2021-08-31 18:50:42 +01:00
jonniebigodes
37c2e18209
Update docs/snippets/react/button-story-decorator.js.mdx
Co-authored-by: Deen <deen@chromatic.com>
2021-08-31 18:50:30 +01:00
jonniebigodes
fbedbc2b09
Update docs/snippets/react/button-story-click-handler-simplificated.js.mdx
Co-authored-by: Deen <deen@chromatic.com>
2021-08-31 18:50:04 +01:00
jonniebigodes
a5623c57ea
Update docs/snippets/react/button-story-click-handler-simple-docs.js.mdx
Co-authored-by: Deen <deen@chromatic.com>
2021-08-31 18:49:28 +01:00
jonniebigodes
cafb83b3f6
Update docs/snippets/react/my-component-story-configure-viewports.js.mdx
Co-authored-by: Deen <deen@chromatic.com>
2021-08-31 00:14:21 +01:00
jonniebigodes
c7b680aec6 small fixes to the snippets 2021-08-31 00:11:57 +01:00
jonniebigodes
69ecd9ed44 Adds example for React Story with hooks 2021-08-30 15:20:44 +01:00
jonniebigodes
377c5becb0 Initial commit for snippets for 6.4 2021-08-28 01:52:57 +01:00
jonniebigodes
b875ce1571 Normalized the MDX snippets all around 2021-08-09 19:19:01 +01:00
jonniebigodes
b326f07319 adjustments to the mdx snippets per feedback 2021-08-08 18:33:11 +01:00
jonniebigodes
0f01c6adef complements the docs with MDX 2021-08-05 18:51:23 +01:00
jonniebigodes
e9d7d75a3c
Merge pull request #15528 from storybookjs/chore_updates_build_pages_docs
Chore: (Docs) Polish the Workflows-Build pages documentation
2021-07-14 16:49:03 +01:00
jonniebigodes
f9b837e313 fix toolbar docs with better examples and minor polish 2021-07-13 20:14:31 +01:00
jonniebigodes
e58e670f85 msw addon documentation 2021-07-08 22:46:28 +01:00
jonniebigodes
5715718e88 updates the loader docs 2021-07-02 21:29:08 +01:00
jonniebigodes
b7f47e9360 updates for jsx and tsx support 2021-06-28 23:00:33 +01:00
jonniebigodes
c643702454 adjusts example button snippets 2021-06-18 17:34:13 +01:00
jonniebigodes
8b8f6b79e4 adjustments to the args snippet 2021-05-17 22:31:53 +01:00
Michael Shilman
73da2a769d
Merge pull request #14893 from storybookjs/fix_update_decorators_snippets_react
Chore: (Docs) Adjusts snippets in decorators for React
2021-05-13 12:38:53 +08:00
jonniebigodes
6699e22bcf adjusts snippets in decorators 2021-05-11 22:15:34 +01:00
Jason-Lough-Cap-Rx
9517efd409
Update page-story-slots.js.mdx
Added missing >
2021-05-11 13:48:21 -07:00
Appsum Solutions
1c4107f3e6
Update react/button-story-rename-story.ts.mdx
TypeScripts needs the Story type to know about the existence of the storyName property
2021-05-07 13:54:14 +02:00
Michael Shilman
412eb52586 Merge branch 'next' into 13478-fix-doc-blocks-imports 2021-05-07 12:11:09 +08:00
Michael Shilman
06eb833d5f Fix doc blocks imports to import from ESM/CJS 2021-05-07 11:51:52 +08:00
jonniebigodes
341d31a37e Minor fixes to the common and react snippets 2021-05-06 21:05:56 +01:00
Huyen Nguyen
d68d4089fb docs: correct typo and formatting 2021-04-18 04:39:54 +07:00
peterpeterparker
def4fb743c docs: missing dash in place-hold.it url 2021-04-17 14:25:08 +02:00
Alexandr Zhidovlenko
e08571008e Add spaces for snippet 2021-03-16 23:11:26 +03:00
Gert Hengeveld
ccdcfacc9d Update docs 2021-03-09 01:10:58 +01:00
Michael Shilman
10988d28ab
Merge pull request #14101 from storybookjs/polish_docs_controls_writing_stories
Chore: (Docs) Adjustments to controls and writing stories docs.
2021-03-04 07:43:05 +08:00
jonniebigodes
be474b7f55 Adds info on example 2021-03-03 17:03:32 +00:00
jonniebigodes
2561dacf56
Merge pull request #13978 from saschwarz/writing-stories-update
documentation: Clarify description of args - Add example of args controlling more than props
2021-03-02 23:12:31 +00:00
jonniebigodes
b95d743cc8 Adjustments to controls and writing stories docs.
With snippets included
2021-03-02 22:30:46 +00:00
Oana
43ee920b1f
Update app-story-with-mock.js.mdx
Add missing closing `}`
2021-03-02 19:52:02 +00:00
Steve Schwarz
2ac8c93818 Updates per PR review 2021-02-26 14:53:26 -06:00
Steve Schwarz
5e1a840fe9 Merge remote-tracking branch 'official/next' into writing-stories-update 2021-02-26 14:29:41 -06:00
jonniebigodes
fc0a67c523 Adjusts snippets for Vue 3 and other minor tweaks. 2021-02-23 00:26:03 +00:00
Steve Schwarz
626f64db65 Generalize prose. Add react snippets 2021-02-22 18:19:50 -06:00
jonniebigodes
b031b9b6af minor snippets improvements 2021-01-28 00:11:22 +00:00
Igor
da53a302df Fixed typo in typescript documentation snippet 2021-01-22 19:01:03 +03:00
jonniebigodes
63d1612aff
Merge pull request #13485 from DaleSeo/patch-3
docs: Update code snippets on Stories for multiple components
2021-01-21 21:24:39 +00:00
Michael Shilman
c5cafac7d4
Merge pull request #13415 from storybookjs/ui_and_env_docs_updates
Chore: Documentation updates for UI and environment variables
2021-01-20 11:07:22 +08:00
Michael Shilman
b2aa06e71b
minor formatting 2021-01-20 11:06:53 +08:00
Helen
79911aa566
Adds missing character in prop
Adds a missing 'r'!
2021-01-08 12:25:59 -05:00
Dale Seo
bc1a7af7d4
Add missing import 2021-01-06 21:31:13 -05:00
Dale Seo
a540ca23e1
use TS properly 2021-01-01 15:43:43 -05:00