47 Commits

Author SHA1 Message Date
jonniebigodes
6699e22bcf adjusts snippets in decorators 2021-05-11 22:15:34 +01: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
jonniebigodes
ccdaae9b68 chore:updates for the writing docs section 2020-10-28 22:44:37 +00:00
Michael Shilman
c055a69afd
Merge pull request #12896 from storybookjs/add-mdx-examples
Docs: Add MDX examples for essentials
2020-10-27 23:58:42 +08:00
Michael Shilman
0dd39d9ad7
Merge pull request #12917 from storybookjs/chore_expand_controls_docs
Chore: updates for the Controls documentation
2020-10-27 18:53:08 +08:00
jonniebigodes
8028065c20 Updates for the Controls essential documentation 2020-10-26 18:16:54 +00:00
Michael Shilman
8aaec34ef2 Docs: Add MDX examples for essentials 2020-10-24 21:09:28 +08:00
Michael Shilman
3e99a07265 Fix subcomponents examples 2020-10-23 14:56:09 +08:00
Michael Shilman
75b8a5a69c
Merge pull request #12838 from storybookjs/fix_issue_12695
Chore: Update snippet to address issue #12695
2020-10-22 15:51:05 +08:00
jonniebigodes
390c81e2e8 snippet update per feedback 2020-10-21 15:54:24 +01:00
jonniebigodes
3a0095d17c Fix for the snippet and address issue 12695 2020-10-20 18:59:47 +01:00
Maciek Sakrejda
4cdf641dad
Fix stray smart quotes on React snippet 2020-10-16 14:51:07 -07:00
Michael Shilman
2441452314 Loaders: Add documentation 2020-10-10 17:41:04 +08:00
Michael Shilman
c1ff295246 Merge branch 'next' into 10009-poc-async-loaders 2020-10-07 12:23:34 +08:00