This commit is contained in:
Gvidas Juknevičius 2024-08-23 12:42:43 +03:00
parent dbc998a909
commit b8b47ca5e8
Signed by: MCorange
GPG Key ID: 12B1346D720B7FBB
2 changed files with 4 additions and 2 deletions

View File

@ -29,11 +29,11 @@ local ____basalt = require("src.basalt")
local basalt = ____basalt.default local basalt = ____basalt.default
local function main(self) local function main(self)
local d = peripheral.find("monitor")[1] local d = peripheral.find("monitor")[1]
local main = basalt:addMonitor() local main = basalt.addMonitor()
main:setMonitor(d) main:setMonitor(d)
main:addLabel():setText("uwu") main:addLabel():setText("uwu")
main:addButton():setText("meow") main:addButton():setText("meow")
basalt:autoUpdate() basalt.autoUpdate()
end end
main(nil) main(nil)
return ____exports return ____exports

View File

@ -1,4 +1,6 @@
/** @noResolution */ /** @noResolution */
/** @noSelf */
declare module basalt { declare module basalt {
interface Theme { interface Theme {