Files
fuc-new/doc/node_modules/preact/compat/src/suspense-list.d.ts
T
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

17 lines
453 B
TypeScript

// Intentionally not using a relative path to take advantage of
// the TS version resolution mechanism
import { Component, ComponentChild, ComponentChildren } from 'preact';
//
// SuspenseList
// -----------------------------------
export interface SuspenseListProps {
children?: ComponentChildren;
revealOrder?: 'forwards' | 'backwards' | 'together';
}
export class SuspenseList extends Component<SuspenseListProps> {
render(): ComponentChild;
}