UNPKG

@stories-js/core

Version:

Stories web components to build stories

23 lines (19 loc) 714 B
/*! * (C) StoriesJS https://storiesjs.org - GPL-2.0 License */ import { r as registerInstance, h } from './index-49238f69.js'; import { s as state } from './index-f706f0f6.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) { registerInstance(this, hostRef); } render() { const zoom = state.zoom; console.log('Preview.render.zoom', zoom); return (h("stories-zoom", { zoom: zoom }, h("slot", null))); } }; Preview.style = previewCss; export { Preview as stories_preview }; //# sourceMappingURL=stories-preview.entry.js.map