fixed prop typing

This commit is contained in:
Michael Freno
2025-11-11 12:49:26 -05:00
parent c19befa29e
commit e56b18b7bd

View File

@@ -582,12 +582,8 @@ function Gui.destroy()
Gui._focusedElement = nil Gui._focusedElement = nil
end end
-- ====================
-- Immediate Mode API
-- ====================
--- Create a new element (supports both immediate and retained mode) --- Create a new element (supports both immediate and retained mode)
---@param props table ---@param props ElementProps
---@return Element ---@return Element
function Gui.new(props) function Gui.new(props)
props = props or {} props = props or {}