125 Commits

Author SHA1 Message Date
rangle-brendan
6952820f4b [Docs] Fix mocking providers code sample syntax 2020-09-02 20:12:19 -04:00
Yuta Kamezaki
f2f53b8c56 Fix typo 2020-09-02 14:48:35 +09:00
Michael Shilman
62429fdf1e
Merge pull request #12282 from ar4s/patch-1
[docs] Fix single quote instead of backtick
2020-08-28 11:27:49 +08:00
Jae Bradley
35c6a08278
Add missing curly brace for actions property in the Button story example 2020-08-27 16:22:07 -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
Vitaly Rtishchev
856d3f63be
Correct globs in documentation
Globs are not correct as it is listed here – https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#correct-globs-in-mainjs
2020-08-23 14:38:35 +03: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
Robbert Klarenbeek
d89211ddf1
Fix erroneous code snippet 2020-08-19 15:12:21 +02:00
Michael Shilman
13683e9da4
Merge pull request #12130 from Davidoseq/fix/duplicate-code
fix: duplicate line in snippet
2020-08-19 18:14:22 +08:00
David Jerabek
26c69aa406 fix: duplicate line in snippet 2020-08-19 12:08:31 +02:00
Baliga
6b48a8152e
SyntaxError Fixed
SyntaxError Fixed - expected "," on line (14)
2020-08-19 11:28:06 +05:30
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
Michael Shilman
ed4198fa99
Merge pull request #11999 from storybookjs/fix_proptypes_to_argtypes
Chore: updates to the writing docs section
2020-08-17 21:07:51 +08: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
Thomas Knickman
075453a04a fix(docs): Props > ArgsTable & add props in docs 2020-08-13 21:30:48 -04: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
jonniebigodes
82cc3a1db6 fixes lingering props tables mentions 2020-08-13 20:40:36 +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
jonniebigodes
a3a2f011c3 adds the layout page 2020-08-12 23:29:51 +01:00
jonniebigodes
1d1a6ca997 preset docs changes 2020-08-12 19:16:17 +01:00
Michael Shilman
4829983459
Update widget-story-controls-enum.js.mdx 2020-08-12 20:34:11 +08:00
jldmn
694ea7104a
Update widget-story-controls-enum.js.mdx
This is the only way I got the custom control types working. Following the argTypes-Docs from https://storybook.js.org/docs/react/api/argtypes the `type` field is for setting the property-type, not the control type.
2020-08-12 14:18:24 +02:00
jonniebigodes
0f9f62e733
Merge pull request #11900 from storybookjs/fix_links_to_configure_section
@domyen thanks for the approval. Merging now
2020-08-11 18:15:15 +01:00
jonniebigodes
0325b45508 fixes to the documentation 2020-08-11 18:04:32 +01:00
domyen
5d7731a230 replace inline code with code snippets 2020-08-11 11:20:57 -04:00
Alexander Aivars
fbb82cb234
Update storybook-preview-configure-globaltypes.js.mdx
fix small typo resulting in broken js when copy pasted
2020-08-11 12:35:40 +02: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
fe3b3e0b1b
Merge branch 'next' into chore_add_api_section_snippets 2020-08-11 04:02:24 +01:00
jonniebigodes
6eee72cd62
Merge branch 'next' into chore_add_workflow_snippets 2020-08-11 04:00:49 +01:00
jonniebigodes
d8180f0ec7 component-story-with-query was adjusted.
Now is using a template
2020-08-11 03:57:14 +01:00
Michael Shilman
1a8351e08a
Merge pull request #11878 from storybookjs/documentation_snippets_updates
Chore: Updates for the code snippets
2020-08-11 10:26:39 +08:00
jonniebigodes
5bddd6fd3a updates per feedback 2020-08-11 02:54:32 +01:00
jonniebigodes
2581f631a1 api section feedback changes 2020-08-11 02:51:40 +01:00
Kyle Suss
483a8cf063 Remove angular dummy snippet 2020-08-10 19:35:20 -06:00
jonniebigodes
714076bc30 removes the shell and json file references.
Updates for the writing docs section
2020-08-11 02:32:01 +01:00