mirror of
https://github.com/ziex-dev/ziex.git
synced 2026-07-22 11:39:34 -06:00
19 lines
364 B
Zig
19 lines
364 B
Zig
pub fn Page(allocator: zx.Allocator) zx.Component {
|
|
return (
|
|
<main @allocator={allocator}>
|
|
<None />
|
|
<Null />
|
|
</main>
|
|
);
|
|
}
|
|
|
|
pub fn None(_: *zx.ComponentContext) ?zx.Component {
|
|
if (true) return .none;
|
|
}
|
|
|
|
pub fn Null(_: *zx.ComponentContext) ?zx.Component {
|
|
if (true) return null;
|
|
}
|
|
|
|
const zx = @import("zx");
|