import React, { useContext, useState } from 'react'; import { css, useCompile } from '@tachybase/client'; import { MenuOutlined } from '@ant-design/icons'; import { Button, Input, Menu, Popover } from 'antd'; import { CollapsedContext } from '../GraphDrawPage'; import { getPopupContainer, useGCMTranslation } from '../utils'; export const LocateCollectionAction = (props) => { const { handleFiterCollections } = props; const { handleSearchCollection, collectionList } = useContext(CollapsedContext); const [selectedKeys, setSelectKey] = useState([]); const { t } = useGCMTranslation(); const compile = useCompile(); const content = (