From 13744dcd3bccfd2a3b09bcdef3a231093fa1cd7d Mon Sep 17 00:00:00 2001 From: David Bonnet Date: Mon, 2 Oct 2023 10:04:08 +0200 Subject: [PATCH] Update documentation --- lib/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types.ts b/lib/types.ts index bd93d469..7c657db7 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -104,7 +104,7 @@ export interface ItemCallable< (itemIndex: number): ItemProps; (): NevoProps; /** - * Loops over the items of the array and creates an instance + * Returns an array that maps each item with an element out of `Component` with the NEVO props and optional extra props. * * @param Component * @param extraProps An object containing extra properties to add to each element, or a function that takes the items props and returns the extra properties to add.