mirror of
https://github.com/apache/superset.git
synced 2026-06-01 21:59:26 +00:00
refactor(Popover): Upgrade Popover to Antd5 (#31973)
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
import { ControlHeader } from '@superset-ui/chart-controls';
|
||||
import { css, styled, t } from '@superset-ui/core';
|
||||
import { Popover } from 'antd';
|
||||
import Popover from 'src/components/Popover';
|
||||
import { FC, useState } from 'react';
|
||||
import { EditItem, LayerConf, LayerConfigsControlProps } from './types';
|
||||
import LayerConfigsPopoverContent from './LayerConfigsPopoverContent';
|
||||
@@ -160,7 +160,7 @@ export const LayerConfigsControl: FC<LayerConfigsControlProps> = ({
|
||||
<div>
|
||||
<ControlHeader {...controlHeaderProps} />
|
||||
<Popover
|
||||
visible={popoverVisible}
|
||||
open={popoverVisible}
|
||||
trigger="click"
|
||||
title={popoverTitle}
|
||||
placement="right"
|
||||
|
||||
Reference in New Issue
Block a user