62 Commits

Author SHA1 Message Date
solimant
f20f67b97a
Fix typo in comment 2021-10-27 17:06:19 -07:00
Meet Patel
f058f3469f
Update checkbox-story.mdx.mdx 2021-10-16 16:02:48 +05:30
mehrdad-e
2a1c80a05c
Redundant import 2021-10-04 09:47:28 +03:30
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
Pearce Liang
ba246c9e9b
fix(docs): correct react viewport snippet's import
The `MINIMAL_VIEWPORTS` is no longer contain 'iphone6' and 'iphonex' in [code](4f5ab9fe9e/addons/viewport/src/defaults.ts). 

In the meantime add `import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';` for more clear example
2020-12-23 17:17:07 +08:00
Dale Seo
dfed2fd9e8
add missing Template 2020-12-21 12:18:10 -05:00
Dale Seo
ccf0a739d6
Fix unformatted import 2020-12-18 14:12:20 -05:00
Dale Seo
33be34399e
Fix unformatted import 2020-12-18 14:09:05 -05:00
Dale Seo
fbd16b78e4
Create list-story-with-unchecked-children.ts.mdx 2020-12-18 14:07:04 -05:00
Dale Seo
6030b50411
Add missing imports in code examples 2020-12-18 14:02:07 -05:00
jonniebigodes
b56bd9cc3d documentation adjustments for env variables and ui related items 2020-12-09 21:58:00 +00:00
Norbert de Langen
84a4bde3f0
FIX 2020-12-09 14:42:24 +01:00
Sebastian Andil
151fb57e84 Update deprecated type
As per 49182c7144/types/react/index.d.ts (L531) SFC type is deprecated.

`VFC` mean Void Functional Component, which is suitable here
2020-11-25 22:04:05 +01:00