mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-27 07:14:56 +00:00
16 lines
459 B
Lua
16 lines
459 B
Lua
-- Dashboard layout module
|
|
|
|
---@class LayoutModule
|
|
---@field grid fun(columns: number?, rows: number?, gap: number?): LayoutConfig
|
|
---@field flex fun(direction: string?, gap: number?, align: string?): LayoutConfig
|
|
---@field section fun(title: string, children: table?): LayoutConfig
|
|
|
|
---@type LayoutModule
|
|
local layout = {
|
|
grid = require("layout.grid"),
|
|
flex = require("layout.flex"),
|
|
section = require("layout.section")
|
|
}
|
|
|
|
return layout
|