ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { makeStyles, MenuItem, MenuList, tokens } from '@fluentui/react-components';
import React, { createContext, MouseEvent, ReactNode, useContext, useEffect, useRef, useState } from 'react';
type MenuEntry = {
label: string;
onClick: () => void;
};
type ContextMenuContextProps =
event entries
menuEntries
menuPosition x y
isVisible
children children
menuEntries setMenuEntries
menuPosition setMenuPosition x y
isVisible setIsVisible
event entries
event
entries
x event y event
children
context
context
context
useMenuListContainerStyles
container
backgroundColor tokens
minWidth
minHeight
maxWidth
width
boxShadow
paddingTop
paddingBottom
menuEntries menuPosition isVisible hideMenu
e entry
entry
menuListRef
menuListRef
e globalThis
menuListRef e menuListRefe
handleClickOutside
handleClickOutside
styles
isVisible
menuEntriesentry index
entry