2025-11-18 23:48:18 +03:00

15 lines
322 B
Lua

--- @class Flex : MultiChildElement
--- @field direction "horizontal" | "vertical"
local flex = setmetatable({}, require "lib.simple_ui.multi_child_element")
flex.__index = flex
flex.type = "Flex"
flex.direction = "horizontal"
function flex:layout()
for _, child in ipairs(self.children) do
end
end
return flex