Sha256: d0db10033c12e0bdfb1802dd49baf37f198dac7595f04caf2f4c418b7cb3aef5

Contents?: true

Size: 1.22 KB

Versions: 12

Compression:

Stored size: 1.22 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

12 entries across 12 versions & 1 rubygems

Version Path
isomorfeus-preact-10.6.14 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.6.13 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.6.12 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.6.11 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.6.10 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.6.9 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.6.8 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.6.7 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.6.6 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.6.5 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.6.4 node_modules/preact/jsx-runtime/src/index.d.ts
isomorfeus-preact-10.6.3 node_modules/preact/jsx-runtime/src/index.d.ts