forked from storybookjs/storybook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request storybookjs#14444 from j3rem1e/issue-14443
Revert "Svelte - Fix async loaders and docs" Fix storybookjs#14443
- Loading branch information
Showing
4 changed files
with
12 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
<script> | ||
export let storyContext; | ||
export let unboundStoryFn; | ||
let { Component: component, props } = unboundStoryFn(storyContext); | ||
export let storyFn; | ||
let { Component: component, props } = storyFn(); | ||
</script> | ||
|
||
<svelte:component this={component} {...props}/> | ||
<svelte:component this={component} {...props}/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
examples/svelte-kitchen-sink/src/stories/__snapshots__/loaders.stories.storyshot
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
examples/svelte-kitchen-sink/src/stories/loaders.stories.js
This file was deleted.
Oops, something went wrong.