Commit 9e9ce807 by Johannes Schill

panel-header: Updated snapshots for popper

parent 2a5f7d1e
...@@ -5,10 +5,34 @@ exports[`Popover renders correctly 1`] = ` ...@@ -5,10 +5,34 @@ exports[`Popover renders correctly 1`] = `
className="popper__manager test-class" className="popper__manager test-class"
onClick={[Function]} onClick={[Function]}
> >
<div> <div
className="popper_ref "
>
<button> <button>
Button with Popover Button with Popover
</button> </button>
</div> </div>
<div
className="popper"
style={
Object {
"left": 0,
"opacity": 0,
"pointerEvents": "none",
"position": "absolute",
"top": 0,
"transition": "opacity 200ms linear",
}
}
>
<div
className="popper__background"
>
Popover text
<div
className="popper__arrow"
/>
</div>
</div>
</div> </div>
`; `;
...@@ -6,12 +6,36 @@ exports[`Tooltip renders correctly 1`] = ` ...@@ -6,12 +6,36 @@ exports[`Tooltip renders correctly 1`] = `
onMouseEnter={[Function]} onMouseEnter={[Function]}
onMouseLeave={[Function]} onMouseLeave={[Function]}
> >
<div> <div
className="popper_ref "
>
<a <a
href="http://www.grafana.com" href="http://www.grafana.com"
> >
Link with tooltip Link with tooltip
</a> </a>
</div> </div>
<div
className="popper"
style={
Object {
"left": 0,
"opacity": 0,
"pointerEvents": "none",
"position": "absolute",
"top": 0,
"transition": "opacity 200ms linear",
}
}
>
<div
className="popper__background"
>
Tooltip text
<div
className="popper__arrow"
/>
</div>
</div>
</div> </div>
`; `;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment