Sha256: 670683503e4e107e88dfec53d4360106fefb23ae2cb01575ba338849647b15f2

Contents?: true

Size: 1.17 KB

Versions: 69

Compression:

Stored size: 1.17 KB

Contents

export { Fragment } from '../../';
import {
	ComponentType,
	ComponentChild,
	ComponentChildren,
	VNode,
	Attributes
} from '../../';
import { JSXInternal } from '../../src/jsx';

export function jsx(
	type: string,
	props: JSXInternal.HTMLAttributes &
		JSXInternal.SVGAttributes &
		Record<string, any> & { children?: ComponentChild },
	key?: string
): VNode<any>;
export function jsx<P>(
	type: ComponentType<P>,
	props: Attributes & P & { children?: ComponentChild },
	key?: string
): VNode<any>;

export function jsxs(
	type: string,
	props: JSXInternal.HTMLAttributes &
		JSXInternal.SVGAttributes &
		Record<string, any> & { children?: ComponentChild[] },
	key?: string
): VNode<any>;
export function jsxs<P>(
	type: ComponentType<P>,
	props: Attributes & P & { children?: ComponentChild[] },
	key?: string
): VNode<any>;

export function jsxDEV(
	type: string,
	props: JSXInternal.HTMLAttributes &
		JSXInternal.SVGAttributes &
		Record<string, any> & { children?: ComponentChildren },
	key?: string
): VNode<any>;
export function jsxDEV<P>(
	type: ComponentType<P>,
	props: Attributes & P & { children?: ComponentChildren },
	key?: string
): VNode<any>;

export { JSXInternal as JSX };

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
isomorfeus-preact-10.5.10 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.5.9 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.5.8 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.5.7 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.5.6 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.5.5 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.5.4 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.5.3 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.5.2 node_modules/preact/jsx-runtime/src/index.d.ts