local x=require("\064\112\107\103\047\064\106\115\100\111\116\108\117\097\047\114\101\097\099\116-\114\111\098\108\111\120")local s=require("\046\047\119\097\114\110\079\110\099\101")local function F(F)if _G.__DEV__ and _G.__COMPAT_WARNINGS__ then s("\082\111\097\099\116\046\080\111\114\116\097\108","\080\108\101\097\115\101 \117\115\101 \116\104\101 \099\114\101\097\116\101\080\111\114\116\097\108 \065\080\073 \111\110 \082\101\097\099\116\082\111\098\108\111\120 \105\110\115\116\101\097\100")end return x.createPortal(F.children,F.target)end return F
--!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 ReactRoblox = require("@pkg/@jsdotlua/react-roblox")

local warnOnce = require("./warnOnce")

local function PortalComponent(props)
	if _G.__DEV__ and _G.__COMPAT_WARNINGS__ then
		warnOnce("Roact.Portal", "Please use the createPortal API on ReactRoblox instead")
	end
	return ReactRoblox.createPortal(props.children, props.target)
end

return PortalComponent
