MCPcopy Create free account
hub / github.com/experdot/pointer / getStandardDropdownProps

Function getStandardDropdownProps

src/renderer/src/utils/shortcutPresentation.ts:88–95  ·  view source on GitHub ↗
(
  menu: NonNullable<DropdownProps['menu']>
)

Source from the content-addressed store, hash-verified

86}
87
88export function getStandardDropdownProps(
89 menu: NonNullable<DropdownProps['menu']>
90): Pick<DropdownProps, 'menu' | 'overlayClassName'> {
91 return {
92 menu: withStandardMenu(menu),
93 overlayClassName: STANDARD_DROPDOWN_CLASS_NAME
94 }
95}

Callers 9

TabsFunction · 0.90
ExplorerFunction · 0.90
ConfigTreeFunction · 0.90
TreeNodeTitleInnerFunction · 0.90
BranchPathBarFunction · 0.90
TitleRow.tsxFile · 0.90
TopicHeader.tsxFile · 0.90
PreviewPanelFunction · 0.90

Calls 1

withStandardMenuFunction · 0.85

Tested by

no test coverage detected