UNPKG

react-loop-z

Version:

React utility for loops and conditional rendering. Simple, clean, and flexible.

9 lines (8 loc) 279 B
import React from 'react'; import { ILoopProps } from './types'; export interface IForLoopProps extends ILoopProps { of: any[]; keyName?: string; render?: (item: any, index: number) => React.ReactNode; } export declare const ForLoop: React.FC<IForLoopProps>;