93 Commits

Author SHA1 Message Date
andrekisi
00be8de187 docs: match react viewport example 2020-09-17 00:55:10 +02:00
andrekisi
e50306659d docs: use template for decorators 2020-09-17 00:45:45 +02:00
andrekisi
8ddc032eef docs: my-component-story-configure-viewports 2020-09-15 23:59:41 +02:00
andrekisi
a648786202 docs: storybook-preview-global-decorator 2020-09-15 23:41:49 +02:00
andrekisi
dd174ea82c docs: button-story-decorator 2020-09-15 23:38:54 +02:00
andrekisi
bfeec76ad0 docs: your-component-with-decorator 2020-09-15 23:34:21 +02:00
andrekisi
49a1bbde9c docs: button-story-component-args-primary 2020-09-15 23:33:58 +02:00
andrekisi
7d1651911e docs: button-story-with-args 2020-09-15 23:25:07 +02:00
andrekisi
1dbe1127b6 docs: button-story-component-decorator 2020-09-15 23:16:23 +02:00
andrekisi
dc5fc8f697 docs: button-story-with-blue-args 2020-09-15 23:12:32 +02:00
andrekisi
76f5d693a1 docs: button-story-using-args 2020-09-15 23:07:08 +02:00
andrekisi
45d2f1dff3 docs: button-story-with-emojis 2020-09-15 23:02:08 +02:00
andrekisi
459ca9f010 button-story 2020-09-15 22:57:52 +02:00
andrekisi
d565381cbe docs: button-story-rename-story 2020-09-15 22:55:15 +02:00
andrekisi
060b31cac9 docs: button-story-default-export-with-component 2020-09-15 22:37:44 +02:00
Noah Laux
5ff20c7d39
Update component-story-mdx-story-by-name.mdx.mdx 2020-09-10 22:30:27 +02: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
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