UNPKG

@yookue/react-condition

Version:

Render components conditionally for react

7 lines (6 loc) 186 B
import React from 'react'; export type ForProps = React.PropsWithChildren<{ of: any[]; render?: (item: any, index: number) => React.ReactNode; }>; export declare const For: any;