import { ReactJsxRuntime } from '@revenge-mod/react' import { isProxified, unproxify } from '@revenge-mod/utils/proxy' import type { ElementType } from 'react' const { jsx: _jsx, jsxs: _jsxs, Fragment } = ReactJsxRuntime const jsx = ((type, ...args) => _jsx( isProxified(type as object) ? (unproxify(type as object) as ElementType) : type, ...args, )) as typeof _jsx const jsxs = ((type, ...args) => _jsxs( isProxified(type as object) ? (unproxify(type as object) as ElementType) : type, ...args, )) as typeof _jsxs module.exports = { jsx, jsxs, Fragment }