local function H(H)if config.typeChecks then assert(typeof(H)=="\102\117\110\099\116\105\111\110","\069\120\112\101\099\116\101\100 \097\114\103 \035\049 \116\111 \098\101 \097 \102\117\110\099\116\105\111\110")end return function(i)local X=i[Ref]local u=assign({},i,excludeRef)return H(u,X)end end return H
--[[
	Allows forwarding of refs to underlying host components. Accepts a render
	callback which accepts props and a ref, and returns an element.
]]
local function forwardRef(render)
	if config.typeChecks then
		assert(typeof(render) == "function", "Expected arg #1 to be a function")
	end

	return function(props)
		local ref = props[Ref]
		local propsWithoutRef = assign({}, props, excludeRef)

		return render(propsWithoutRef, ref)
	end
end

return forwardRef
