Skip to content

Commit ecfe345

Browse files
committed
[FIX] homepage url
1 parent e3c0579 commit ecfe345

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/react-tools-lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@
9191
"bugs": {
9292
"url": "https://github.com/nDriaDev/react-tools/issues"
9393
},
94-
"homepage": "https://github.com/nDriaDev/react-tools",
94+
"homepage": "https://ndriadevo.github.io/react-tools",
9595
"license": "MIT"
9696
}

packages/react-tools-lib/src/components/For.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ForProps } from "../models";
77
* @param {ForProps<T>} props - component properties object.
88
* @param {T[]} props.of - array of elements.
99
* @param {T extends Record<string,unknown> ? keyof T : never} [props.elementKey] - a key of array elements if elements are object.
10-
* @param {(item: T, index: T extends Record<string,unknown> ? number | T[keyof T] : number) => ReactNode} props.children - it's a function that takes the current item as first argument and optionally a second argument that is number if element of array aren't object, otherwise it can be a number or the value of the element key specified in the _elementKey_ prop if it is preset.
10+
* @param {(item: T, index: T extends Record<string,unknown> ? number | T[keyof T] : number) => ReactNode} props.children - it's a function that takes the current item as first argument and optionally a second argument that is number if element of array aren't object, otherwise it can be a number or the value of the element key specified in the _elementKey_ prop.
1111
* @param {ReactNode} [props.fallback] - optional element to render when _of_ prop is an empty array.
1212
* @param {<S extends T>(val: T, index: number, arr: T[]) => val is S} [props.filter] - callback executed to filter _of_ elements.
1313
* @param {<U extends T>(val: T, index: number, arr: T[]) => U} [props.map] - callback executed to map _of_ elements.

0 commit comments

Comments
 (0)