UNPKG

woby

Version:

A high-performance framework with fine-grained observable/signal-based reactivity for building rich applications.

8 lines 331 B
import type { Child, FunctionMaybe, ObservableReadonly, Truthy } from '../types'; declare const If: <T>({ when, fallback, children }: { when: FunctionMaybe<T>; fallback?: Child; children: Child | ((value: (() => Truthy<T>)) => Child); }) => ObservableReadonly<Child>; export default If; //# sourceMappingURL=if.d.ts.map