mirror of https://github.com/apache/superset.git
chore: Moves CronPicker to the components folder (#14125)
This commit is contained in:
parent
38a1f65646
commit
ec75dc178b
|
@ -20,6 +20,7 @@ import React, { useState, useRef, useCallback } from 'react';
|
|||
import { action } from '@storybook/addon-actions';
|
||||
import { withKnobs, boolean, select } from '@storybook/addon-knobs';
|
||||
import Button from 'src/components/Button';
|
||||
import { CronPicker, CronError } from 'src/components/CronPicker';
|
||||
import Modal from './Modal';
|
||||
import Tabs, { EditableTabs } from './Tabs';
|
||||
import { Tooltip as AntdTooltip } from './Tooltip';
|
||||
|
@ -27,7 +28,6 @@ import { Switch as AntdSwitch } from './Switch';
|
|||
import { Menu, Input, Divider } from '.';
|
||||
import { Dropdown } from './Dropdown';
|
||||
import InfoTooltip from './InfoTooltip';
|
||||
import { CronPicker, CronError } from './CronPicker';
|
||||
|
||||
export default {
|
||||
title: 'Common components',
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
import React from 'react';
|
||||
import { ReactWrapper } from 'enzyme';
|
||||
import { styledMount as mount } from 'spec/helpers/theming';
|
||||
import { CronPicker } from 'src/common/components/CronPicker';
|
||||
import { CronPicker } from 'src/components/CronPicker';
|
||||
import { Input } from 'src/common/components';
|
||||
|
||||
import { AlertReportCronScheduler } from './AlertReportCronScheduler';
|
||||
|
|
|
@ -21,8 +21,8 @@ import { t, useTheme } from '@superset-ui/core';
|
|||
|
||||
import { Input, AntdInput } from 'src/common/components';
|
||||
import { Radio } from 'src/common/components/Radio';
|
||||
import { CronPicker, CronError } from 'src/common/components/CronPicker';
|
||||
import { StyledInputContainer } from '../AlertReportModal';
|
||||
import { CronPicker, CronError } from 'src/components/CronPicker';
|
||||
import { StyledInputContainer } from 'src/views/CRUD/alert/AlertReportModal';
|
||||
|
||||
interface AlertReportCronSchedulerProps {
|
||||
value: string;
|
||||
|
|
Loading…
Reference in New Issue