UNPKG

control-flow-react

Version:
10 lines (9 loc) 324 B
import type { ReactNode } from "react"; import { iConditionClause } from "./switch"; interface iShowProps { when: iConditionClause; children: ReactNode | string | null; fallBack?: ReactNode | string | null; } export declare const Show: ({ when, children, fallBack, }: iShowProps) => ReactNode | null; export {};