mirror of
https://github.com/ziex-dev/ziex.git
synced 2026-07-22 11:39:34 -06:00
13 lines
306 B
Zig
13 lines
306 B
Zig
pub fn Page(allocator: zx.Allocator) zx.Component {
|
|
const max_count = 10;
|
|
|
|
return (
|
|
<main @allocator={allocator}>
|
|
<CounterComponent @rendering={.react} max_count={max_count} />
|
|
</main>
|
|
);
|
|
}
|
|
|
|
const zx = @import("zx");
|
|
const CounterComponent = @jsImport("react.tsx");
|