mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
test: Adds tests to the OptionControls component (#13729)
This commit is contained in:
committed by
GitHub
parent
ec5d2f5f32
commit
6fd62e3f7e
@@ -24,7 +24,7 @@ import {
|
||||
AddControlLabel,
|
||||
DndLabelsContainer,
|
||||
HeaderContainer,
|
||||
} from 'src/explore/components/OptionControls';
|
||||
} from 'src/explore/components/controls/OptionControls';
|
||||
import { DatasourcePanelDndItem } from 'src/explore/components/DatasourcePanel/types';
|
||||
import Icon from 'src/components/Icon';
|
||||
import { DndColumnSelectProps } from './types';
|
||||
|
||||
@@ -24,7 +24,7 @@ import {
|
||||
CloseContainer,
|
||||
OptionControlContainer,
|
||||
Label,
|
||||
} from 'src/explore/components/OptionControls';
|
||||
} from 'src/explore/components/controls/OptionControls';
|
||||
import { OptionProps } from '../types';
|
||||
|
||||
export default function Option(props: OptionProps) {
|
||||
|
||||
@@ -23,10 +23,10 @@ import {
|
||||
DropTargetMonitor,
|
||||
DragSourceMonitor,
|
||||
} from 'react-dnd';
|
||||
import { DragContainer } from 'src/explore/components/OptionControls';
|
||||
import { DragContainer } from 'src/explore/components/controls/OptionControls';
|
||||
import { DndItemType } from 'src/explore/components/DndItemType';
|
||||
import Option from './Option';
|
||||
import { OptionProps, OptionItemInterface } from '../types';
|
||||
import { DndItemType } from '../../../DndItemType';
|
||||
|
||||
export default function OptionWrapper(
|
||||
props: OptionProps & { type: DndItemType },
|
||||
|
||||
Reference in New Issue
Block a user