/** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ import { FunctionComponent } from 'react'; import { SelectorBoxPopoverProps } from '@flowgram.ai/free-layout-editor'; import { WorkflowGroupCommand } from '@flowgram.ai/free-group-plugin'; import { Button, ButtonGroup, Tooltip } from '@douyinfe/semi-ui'; import { IconCopy, IconDeleteStroked, IconExpand, IconShrink } from '@douyinfe/semi-icons'; import { IconGroup } from '../group'; import { FlowCommandId } from '../../shortcuts/constants'; const BUTTON_HEIGHT = 24; export const SelectorBoxPopover: FunctionComponent = ({ bounds, children, flowSelectConfig, commandRegistry, }) => ( <>
{ e.stopPropagation(); }} >
{children}
);