mirror of
https://github.com/kennethnym/jrx.git
synced 2026-03-20 03:41:18 +00:00
@@ -1,10 +1,10 @@
|
||||
/** @jsxImportSource jsonsx */
|
||||
import { render } from "jsonsx";
|
||||
/** @jsxImportSource @nym.sh/jrx */
|
||||
import { render } from "@nym.sh/jrx";
|
||||
import { Stack, Text, Button } from "../components";
|
||||
|
||||
export const simpleSpec = render(
|
||||
<Stack>
|
||||
<Text content="Hello from jsonsx!" />
|
||||
<Text content="Hello from jrx!" />
|
||||
<Button label="Click me" />
|
||||
</Stack>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user