Sha256: 36d6eb859cdcf83552574cfc93c59fe2069aef933fe0b0759daa97e9a7243a42

Contents?: true

Size: 389 Bytes

Versions: 69

Compression:

Stored size: 389 Bytes

Contents

import { Component, ComponentChild, ComponentChildren } from '../../src';

//
// Suspense/lazy
// -----------------------------------
export function lazy<T>(loader: () => Promise<{ default: T } | T>): T;

export interface SuspenseProps {
	children?: ComponentChildren;
	fallback: ComponentChildren;
}

export class Suspense extends Component<SuspenseProps> {
	render(): ComponentChild;
}

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
isomorfeus-preact-10.9.0 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.8.2 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.8.1 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.8.0 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.7.3 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.7.2 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.7.1 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.7.0 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.62 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.61 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.60 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.59 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.58 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.57 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.56 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.55 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.54 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.53 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.52 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.6.51 node_modules/preact/compat/src/suspense.d.ts