kibana/x-pack/plugins/lens/public/drag_drop/__snapshots__/drag_drop.test.tsx.snap
Caroline Horn e248f32111
[Lens] Consistent Drag and Drop styles (#78674)
* Remove wrapping div of DragDrop and pass props to child
* Using EuiHighlight
* Basic styles in for all DnD states
* Fixing dimension button styles
* Fix FieldButton to accept `…rest` props
* A few other minor fixes
* Fixed horizontal scroll of error message
* Quick fix for invalid link
2020-10-01 11:58:23 -04:00

35 lines
810 B
Plaintext
Generated

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DragDrop droppable is reflected in the className 1`] = `
<button
class="lnsDragDrop lnsDragDrop-isDroppable lnsDragDrop-isDropTarget"
data-test-subj="lnsDragDrop"
>
Hello!
</button>
`;
exports[`DragDrop items that have droppable=false get special styling when another item is dragged 1`] = `
<button
className="lnsDragDrop lnsDragDrop-isDroppable lnsDragDrop-isNotDroppable"
data-test-subj="lnsDragDrop"
onDragEnd={[Function]}
onDragLeave={[Function]}
onDragOver={[Function]}
onDragStart={[Function]}
onDrop={[Function]}
>
Hello!
</button>
`;
exports[`DragDrop renders if nothing is being dragged 1`] = `
<button
class="lnsDragDrop lnsDragDrop-isDraggable"
data-test-subj="lnsDragDrop"
draggable="true"
>
Hello!
</button>
`;