Files
jrx/example/components.ts

24 lines
564 B
TypeScript
Raw Permalink Normal View History

import { jsx } from "jrx/jsx-runtime";
import type { JrxNode } from "jrx";
export function Stack(props: Record<string, unknown>): JrxNode {
return jsx("Stack", props);
}
export function Card(props: Record<string, unknown>): JrxNode {
return jsx("Card", props);
}
export function Text(props: Record<string, unknown>): JrxNode {
return jsx("Text", props);
}
export function Button(props: Record<string, unknown>): JrxNode {
return jsx("Button", props);
}
export function Input(props: Record<string, unknown>): JrxNode {
return jsx("Input", props);
}