local A=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local p=A:WaitForChild("\077\111\100\117\108\101\115")local f=require(p.Roact)local R=require(p.M)local u=f.createElement local function K(A)local p=A.padding local f=UDim.new(0,p)return u("\085\073\080\097\100\100\105\110\103",R.extend({PaddingBottom=f,PaddingLeft=f,PaddingRight=f;PaddingTop=f},R.omit(A,"\112\097\100\100\105\110\103")))end return K
local ReplicatedStorage = game:GetService('ReplicatedStorage')
local Modules = ReplicatedStorage:WaitForChild('Modules')
--local logger = require(Modules.src.utils.Logger)

local Roact = require(Modules.Roact)
local M = require(Modules.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