import { css } from '@lion/core'; import { html, object, storiesOf, text, withKnobs } from '@open-wc/demoing-storybook'; import '../lion-tooltip.js'; import '../lion-tooltip-arrow.js'; const tooltipDemoStyle = css` .demo-box { width: 200px; background-color: white; border-radius: 2px; margin: 250px; padding: 8px; } .demo-box_placements { display: flex; flex-direction: column; width: 173px; margin: 0 auto; margin-top: 68px; } lion-tooltip { padding: 10px; } .demo-box__column { display: flex; flex-direction: column; } .demo-tooltip-body { display: block; font-size: 16px; color: white; background-color: black; border-radius: 4px; padding: 8px; } `; storiesOf('Overlays Specific WC|Tooltip', module) .addDecorator(withKnobs) .add( 'Test', () => html`
Use the Storybook Knobs to dynamically change the popper configuration!