UNPKG

@stories-js/core

Version:

Stories web components to build stories

27 lines (21 loc) 799 B
/*! * (C) StoriesJS https://storiesjs.org - GPL-2.0 License */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const index = require('./index-c25eada5.js'); const index$1 = require('./index-ad63dbd0.js'); const previewCss = ":host{display:block;background-color:lightpink}section{-ms-flex-negative:1;flex-shrink:1;height:100vh;width:100vw;background-color:lightcoral}"; const Preview = class { constructor(hostRef) { index.registerInstance(this, hostRef); } render() { const zoom = index$1.state.zoom; console.log('Preview.render.zoom', zoom); return (index.h("stories-zoom", { zoom: zoom }, index.h("slot", null))); } }; Preview.style = previewCss; exports.stories_preview = Preview; //# sourceMappingURL=stories-preview.cjs.entry.js.map