mirror of
https://github.com/apache/superset.git
synced 2026-05-31 21:29:19 +00:00
chore: remove React 16.4's obsolete React imports (#28571)
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { styled, t } from '@superset-ui/core';
|
||||
import { ContourOptionProps } from './types';
|
||||
import ContourPopoverTrigger from './ContourPopoverTrigger';
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { useState, useEffect } from 'react';
|
||||
import { Row, Col } from 'src/components';
|
||||
import Button from 'src/components/Button';
|
||||
import Tabs from 'src/components/Tabs';
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import React, { useState } from 'react';
|
||||
import { useState } from 'react';
|
||||
import ContourPopoverControl from './ContourPopoverControl';
|
||||
import ControlPopover from '../ControlPopover/ControlPopover';
|
||||
import { ContourPopoverTriggerProps } from './types';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { useState, useEffect } from 'react';
|
||||
import { styled, t } from '@superset-ui/core';
|
||||
import DndSelectLabel from 'src/explore/components/controls/DndColumnSelectControl/DndSelectLabel';
|
||||
import ContourPopoverTrigger from './ContourPopoverTrigger';
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { ReactNode } from 'react';
|
||||
import { OptionValueType } from 'src/explore/components/controls/DndColumnSelectControl/types';
|
||||
import { ControlComponentProps } from 'src/explore/components/Control';
|
||||
|
||||
@@ -49,7 +50,7 @@ export interface ContourPopoverTriggerProps {
|
||||
description?: string;
|
||||
hovered?: boolean;
|
||||
value?: ContourType;
|
||||
children?: React.ReactNode;
|
||||
children?: ReactNode;
|
||||
saveContour: (contour: ContourType) => void;
|
||||
isControlled?: boolean;
|
||||
visible?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user