import { storiesOf, html } from '@open-wc/demoing-storybook'; import { css } from '@lion/core'; import { fixtureSync } from '@open-wc/testing-helpers'; import { OverlayController, withBottomSheetConfig } from '../index.js'; const bottomSheetDemoStyle = css` .demo-overlay { background-color: white; border: 1px solid lightgrey; text-align: center; } `; storiesOf('Global Overlay System|BottomSheet', module).add('Default', () => { const bottomSheetCtrl = new OverlayController({ ...withBottomSheetConfig(), contentNode: fixtureSync(html`
`), }); return html` Anchor 1 Anchor 2 ${Array(50).fill( html`Lorem ipsum
`, )} `; });