local Z=script:FindFirstAncestor("\077\097\122\101\071\101\110\101\114\097\116\111\114\080\108\117\103\105\110")local I=require(Z:WaitForChild("\082\111\097\099\116"))local S=require(Z.M)local C=I.createElement local function f(Z)local I=Z.padding local f=UDim.new(0,I)return C("\085\073\080\097\100\100\105\110\103",S.extend({PaddingBottom=f,PaddingLeft=f;PaddingRight=f,PaddingTop=f},S.omit(Z,"\112\097\100\100\105\110\103")))end return f
local Root = script:FindFirstAncestor('MazeGeneratorPlugin')
local Roact = require(Root:WaitForChild('Roact'))
local M = require(Root.M)

local createElement = Roact.createElement

local function UIPadding(props)
	local padding = props.padding

	local paddingProp = UDim.new(0, padding)

	return createElement(
		'UIPadding',
		M.extend(
			{
				PaddingBottom = paddingProp,
				PaddingLeft = paddingProp,
				PaddingRight = paddingProp,
				PaddingTop = paddingProp,
			},
			M.omit(props, 'padding')
		)
	)
end

return UIPadding