Sha256: 640117248dd624d453636836b4d301eb78fa01bed73e7b5991732fe48b607835

Contents?: true

Size: 404 Bytes

Versions: 12

Compression:

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

12 entries across 12 versions & 1 rubygems

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