UNPKG

@tdi2/di-core

Version:

TypeScript Dependency Injection 2 - Core DI framework

9 lines (8 loc) 307 B
import type { InjectOptional } from "@tdi2/di-core/markers"; import { LoggerInterface } from "./shared-types"; export declare function ConditionalRendering(props: { isEnabled: boolean; services: { logger?: InjectOptional<LoggerInterface>; }; }): import("react/jsx-runtime").JSX.Element;