diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-26 09:23:55 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-26 09:23:55 +0100 |
| commit | 91d9b6992ac0ebee13704a3faefa8fd41a00075e (patch) | |
| tree | ea0a30cc0cfb2232d3e60c845c20a67b6cdf0b99 /src/app/components/root.zig | |
| parent | 65300a13dcd11037218bf8ba61efd8ca19e5920e (diff) | |
zilch: dynamic element creation
Diffstat (limited to 'src/app/components/root.zig')
| -rw-r--r-- | src/app/components/root.zig | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/app/components/root.zig b/src/app/components/root.zig index f51e3c1..999a052 100644 --- a/src/app/components/root.zig +++ b/src/app/components/root.zig @@ -2,7 +2,12 @@ const zilch = @import("zilch"); const icons = @import("icons/root.zig").icons; +pub const NavButton = @import("navbutton/root.zig"); +pub const Image = @import("image/root.zig"); +pub const Gallery = @import("gallery/root.zig"); + pub const components = &[_]zilch.Component{ - @import("navbutton/root.zig").component, - @import("image/root.zig").component, + NavButton.component, + Image.component, + Gallery.component, } ++ icons; |