UNPKG

@yookue/react-condition

Version:

Render components conditionally for react

7 lines (6 loc) 231 B
import React from 'react'; export type WhileProps = React.PropsWithChildren<{ condition: () => boolean | number | string | undefined | null; render?: (index: number) => React.ReactNode; }>; export declare const While: any;