mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Update example with new brand one
This commit is contained in:
18
example/examples/intro/examples_list.lua
Normal file
18
example/examples/intro/examples_list.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
local helper = require "druid.helper"
|
||||
local M = {}
|
||||
|
||||
function M.get_examples()
|
||||
---@type druid.example.data[]
|
||||
return {
|
||||
{
|
||||
name_id = "ui_example_intro",
|
||||
information_text_id = "ui_example_intro_description",
|
||||
template = "intro",
|
||||
root = "intro/root",
|
||||
code_url = "example/examples/intro/intro/intro.lua",
|
||||
component_class = require("example.examples.intro.intro.intro"),
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
Reference in New Issue
Block a user