site/node_modules/preact/compat/src/suspense-list.d.ts

15 lines
353 B
TypeScript
Raw Normal View History

2024-10-14 08:09:33 +02:00
import { Component, ComponentChild, ComponentChildren } from '../../src';
//
// SuspenseList
// -----------------------------------
export interface SuspenseListProps {
children?: ComponentChildren;
revealOrder?: 'forwards' | 'backwards' | 'together';
}
export class SuspenseList extends Component<SuspenseListProps> {
render(): ComponentChild;
}