How to use @storybook/ui - 2 common examples

To help you get started, we’ve selected a few @storybook/ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github storybookjs / storybook / lib / core / src / client / manager / index.js View on Github external
importPolyfills().then(() => {
  const rootEl = document.getElementById('root');
  renderStorybookUI(rootEl, new Provider());
});
github wix / wix-react-native-storybook-template / storybook-react-native / manager / index.js View on Github external
import { window, location, document } from 'global';
import renderStorybookUI from '@storybook/ui';
import Provider from './provider';

const rootEl = document.getElementById('root');
renderStorybookUI(rootEl, new Provider({ url: location.host, options: window.storybookOptions }));

@storybook/ui

Core Storybook UI

MIT
Latest version published 1 year ago

Package Health Score

88 / 100
Full package analysis

Popular @storybook/ui functions