mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 10:11:47 +08:00
22 lines
522 B
JavaScript
22 lines
522 B
JavaScript
import { start } from '@storybook/core/client';
|
|
|
|
import './globals';
|
|
import render from './render';
|
|
|
|
const { configure: coreConfigure, clientApi, forceReRender } = start(render);
|
|
|
|
export const {
|
|
setAddon,
|
|
addDecorator,
|
|
addParameters,
|
|
clearDecorators,
|
|
getStorybook,
|
|
raw,
|
|
} = clientApi;
|
|
|
|
const framework = 'ember';
|
|
export const storiesOf = (...args) => clientApi.storiesOf(...args).addParameters({ framework });
|
|
export const configure = (...args) => coreConfigure(...args, framework);
|
|
|
|
export { forceReRender };
|