impair
Version:
A framework for building React applications with OOP principles and a layered architecture.
4 lines (3 loc) • 335 B
TypeScript
import { type PropsWithChildren } from 'react';
import type { ProviderProps } from '../types';
export declare function ServiceProvider<P extends object>({ provide, children, props, }: PropsWithChildren<ProviderProps<P>>): import("react").FunctionComponentElement<import("react").ProviderProps<import("tsyringe").DependencyContainer>>;