@preact-signals/safe-react
Version:
Manage state with style in React
22 lines (19 loc) • 537 B
text/typescript
export type JSXFunction = (
type: React.ElementType,
props: Record<string, unknown>,
key: React.Key,
isStaticChildren: boolean,
__source: unknown,
__self: unknown
) => React.ElementType;
export declare namespace ReactJSX {
export const jsx: JSXFunction;
export const jsxs: JSXFunction;
export const Fragment: React.ComponentType;
export type { JSXFunction };
}
export declare namespace ReactJSXDev {
export const jsxDEV: JSXFunction;
export const Fragment: React.ComponentType;
export type { JSXFunction };
}