MCPcopy Create free account
hub / github.com/react-component/tooltip / getPopupElement

Function getPopupElement

src/Tooltip.tsx:105–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103 }
104
105 const getPopupElement = () => (
106 <Popup
107 key="content"
108 prefixCls={prefixCls}
109 id={mergedId}
110 bodyClassName={tooltipClassNames?.body}
111 overlayInnerStyle={{ ...overlayInnerStyle, ...tooltipStyles?.body }}
112 >
113 {overlay}
114 </Popup>
115 );
116
117 const getChildren = () => {
118 const child = React.Children.only(children);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…