17 Commits

Author SHA1 Message Date
John Albin Wilkins
1ec448e70b
Add first MDX example for storybook/html
The https://storybook.js.org/docs/7.0/html/writing-docs/mdx page is missing all storybook/html snippets. I thought the `Story` needed a child string, but it actually needs a function that returns a string.

While I don't have time to add all the examples now, having at least the first one will help users a ton.
2022-11-28 05:45:25 +08:00
Kasper Peulen
d007839263 Prettier it all 2022-11-17 16:33:22 +01:00
Kasper Peulen
734a6f701b Upgrade snippets for v7 TS changes 2022-11-17 16:32:01 +01:00
jonniebigodes
6f771c4e20 Histogram migration examples to CSF 3 2022-09-08 21:20:10 +01:00
jonniebigodes
0b6051fc83 Adds why page 2022-09-07 16:39:26 +01:00
Michael Shilman
40ccd92403 Merge branch 'next' into future/base 2022-07-15 11:09:15 -07:00
jonniebigodes
ce2d6ff1ef HTML CSF 3 snippets 2022-07-07 22:27:00 +01:00
Norbert de Langen
83759ea727
Merge branch 'future/base' into future/SB-444
# Conflicts:
#	docs/snippets/html/button-story-with-args.ts.mdx
2022-06-29 09:56:16 +02:00
Matthew Smith
19d9cc2ba3 Add html framework examples for the introduction docs 2022-06-27 09:41:20 -04:00
Norbert de Langen
c29b2cb263
make it all imported by type, and convert to use to StoryFn 2022-06-21 20:08:15 +02:00
jonniebigodes
a46b4a022d Fixes the incorrect path in the snippets 2022-03-21 21:50:56 +00:00
WIVSW
9bd8804ffb Add your-component.ts snippet for html framework 2022-01-23 00:18:43 +05:00
WIVSW
841fe3753d Add your-component.js snippet for html framework 2022-01-22 22:58:02 +05:00
WIVSW
8fe7687059 Add button-story-with-args.ts snippet for html framework 2021-12-18 15:16:08 +05:00
WIVSW
660cdeec1b Add button-story-with-args.js snippet for html framework 2021-12-18 15:02:47 +05:00
WIVSW
2c6621ceaa Add button-story.ts snippet for html framework 2021-12-14 11:26:19 +05:00
WIVSW
738c72cbdb Add button-story.js snippet for html framework 2021-12-14 11:15:49 +05:00