feat(explore): Drag and drop UX improvements (#13598)

* Create a metric immediately when saved metric is dropped

* Display borders around control boxes when metric or column is dragged

* Fix imports

* Display ghost button

* Rename placeholder to ghostButton
This commit is contained in:
Kamil Gabryjelski
2021-03-15 11:47:13 +01:00
committed by GitHub
parent 6b30f55cfd
commit ae66f5fa78
6 changed files with 36 additions and 42 deletions

View File

@@ -72,7 +72,6 @@ export const DndColumnSelect = (props: LabelProps) => {
return (
<DndSelectLabel<string | string[], ColumnMeta[]>
values={values}
onDrop={onDrop}
canDrop={canDrop}
valuesRenderer={valuesRenderer}