moderator-toolbox-nxg-for-reddit / modules/devtools/components/ApiInfoPopup
modules/devtools/components/ApiInfoPopup¶
Functions¶
ApiInfoPopup()¶
ApiInfoPopup(
__namedParameters):Element
Defined in: extension/data/modules/devtools/components/ApiInfoPopup.tsx:17
Renders a draggable window containing pretty-printed JSON of the given API context.
Parameters¶
__namedParameters¶
ApiInfoPopupProps
Returns¶
Element
showApiInfoPopup()¶
showApiInfoPopup(
props): () =>void
Defined in: extension/data/modules/devtools/components/ApiInfoPopup.tsx:37
Mounts an ApiInfoPopup as a managed popup overlay.
Parameters¶
props¶
Omit<ApiInfoPopupProps, "onClose"> & object
Popup props; onClose is optional and will be called in addition to unmounting.
Returns¶
() => void