UNPKG

0x1

Version:

0x1: Lightning-fast web framework for JavaScript/TypeScript with zero overhead and maximum performance, powered by Bun

27 lines (20 loc) 801 B
/** * JSX Runtime Type Definitions for 0x1 Framework * React 19+ compatible JSX runtime implementation */ import type { JSXElement } from './jsx.js'; // Core JSX runtime functions export function jsx(type: any, props: any, key?: any): JSXElement; export function jsxs(type: any, props: any, key?: any): JSXElement; export function jsxDEV(type: any, props: any, key?: any, isStatic?: boolean, source?: any, self?: any): JSXElement; // Fragment component export const Fragment: React.ComponentType<{ children?: React.ReactNode }>; // JSX runtime types for 0x1 framework compatibility export interface JSXRuntime { jsx: typeof jsx; jsxs: typeof jsxs; jsxDEV?: typeof jsxDEV; Fragment: typeof Fragment; } // Export everything from jsx types to avoid conflicts export * from './jsx.js';