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.5.10 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.5.9 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.5.8 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.5.7 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.5.6 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.5.5 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.5.4 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.5.3 node_modules/preact/compat/src/suspense.d.ts
isomorfeus-preact-10.5.2 node_modules/preact/compat/src/suspense.d.ts