control-flow-react
Version:
Control flow components for React
10 lines (9 loc) • 324 B
TypeScript
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 {};