MCPcopy Create free account
hub / github.com/editablejs/editable / render

Function render

packages/ui/src/context-menu.tsx:66–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 const size = useContextMenuSize()
65
66 const render = () => {
67 return (
68 <>
69 {icon && <span css={iconCls(disabled, size)}>{icon}</span>}
70 {children}
71 {rightText && <div css={rightCls(disabled, size)}>{rightText}</div>}
72 </>
73 )
74 }
75 return (
76 <MenuItem
77 css={itemCls(disabled, size)}

Callers 1

ContextMenuItemFunction · 0.85

Calls 2

iconClsFunction · 0.85
rightClsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…