mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-16 05:03:11 +08:00
Pass all arguments to configure through in svelte
This commit is contained in:
parent
0f95f25a98
commit
87e28117a3
@ -11,6 +11,6 @@ export const { raw } = clientApi;
|
||||
const RENDERER = 'ember';
|
||||
export const storiesOf = (kind: string, m: any) =>
|
||||
clientApi.storiesOf(kind, m).addParameters({ renderer: RENDERER });
|
||||
export const configure = (loadable: any, m: any) => coreConfigure(RENDERER, loadable, m);
|
||||
export const configure = (...args: any[]) => coreConfigure(RENDERER, ...args);
|
||||
|
||||
export { forceReRender };
|
||||
|
@ -18,6 +18,6 @@ export const { raw } = clientApi;
|
||||
const RENDERER = 'svelte';
|
||||
export const storiesOf = (kind: string, m: any) =>
|
||||
clientApi.storiesOf(kind, m).addParameters({ renderer: RENDERER });
|
||||
export const configure = (loadable: any, m: any) => coreConfigure(RENDERER, loadable, m);
|
||||
export const configure = (...args: any[]) => coreConfigure(RENDERER, ...args);
|
||||
|
||||
export { forceReRender };
|
||||
|
Loading…
x
Reference in New Issue
Block a user