UNPKG

@meduza-bank/ui-kit

Version:

UI Kit of the bank of Meme World "Peoples Bank Memes" or "Meduza Bank"

3 lines (2 loc) 940 B
import { Component, ExoticComponent, ForwardRefExoticComponent, ForwardRefRenderFunction, FunctionComponent, PropsWithoutRef, RefAttributes } from "react"; export declare function ResponsibilityHOC<ThenProps = {}, ElseThenProps = {}, ThenRef = unknown, ElseThenRef = unknown>(query: string, Then: FunctionComponent<ThenProps> | Component<ThenProps> | ExoticComponent<ThenProps> | ForwardRefRenderFunction<PropsWithoutRef<ThenProps> & RefAttributes<ThenRef>> | ForwardRefExoticComponent<PropsWithoutRef<ThenProps> & RefAttributes<ThenRef>>, ElseThen?: FunctionComponent<ElseThenProps> | Component<ElseThenProps> | ExoticComponent<ElseThenProps> | ForwardRefRenderFunction<PropsWithoutRef<ElseThenProps> & RefAttributes<ElseThenRef>> | ForwardRefExoticComponent<PropsWithoutRef<ElseThenProps> & RefAttributes<ElseThenRef>> | null): ForwardRefExoticComponent<PropsWithoutRef<ElseThenProps & ThenProps> & RefAttributes<ThenRef & ElseThenRef>>;