local x=require("\064\112\107\103\047\064\106\115\100\111\116\108\117\097\047\114\101\097\099\116")local s=require("\046\047\119\097\114\110\079\110\099\101")return function(F)if _G.__DEV__ and _G.__COMPAT_WARNINGS__ then s("\099\114\101\097\116\101\070\114\097\103\109\101\110\116","\080\108\101\097\115\101 \105\110\115\116\101\097\100 \117\115\101\058\n\t\082\101\097\099\116\046\099\114\101\097\116\101\069\108\101\109\101\110\116\040\082\101\097\099\116\046\070\114\097\103\109\101\110\116\044 \046\046\046\041")end return x.createElement(x.Fragment,nil,F)end
--!strict
--[[
	* Copyright (c) Roblox Corporation. All rights reserved.
	* Licensed under the MIT License (the "License");
	* you may not use this file except in compliance with the License.
	* You may obtain a copy of the License at
	*
	*     https://opensource.org/licenses/MIT
	*
	* Unless required by applicable law or agreed to in writing, software
	* distributed under the License is distributed on an "AS IS" BASIS,
	* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	* See the License for the specific language governing permissions and
	* limitations under the License.
]]
local React = require("@pkg/@jsdotlua/react")

local warnOnce = require("./warnOnce")

return function(elements)
	if _G.__DEV__ and _G.__COMPAT_WARNINGS__ then
		warnOnce(
			"createFragment",
			"Please instead use:\n\tReact.createElement(React.Fragment, ...)"
		)
	end
	return React.createElement(React.Fragment, nil, elements)
end
