We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae39ca1 commit dfeb043Copy full SHA for dfeb043
src/ListContext.ts
@@ -2,7 +2,7 @@ import * as React from 'react';
2
import type { InternalNamePath } from './interface';
3
4
export interface ListContextProps {
5
- getKey: (namePath: InternalNamePath) => [React.Key, InternalNamePath];
+ getKey: (namePath: InternalNamePath) => [InternalNamePath[number], InternalNamePath];
6
}
7
8
const ListContext = React.createContext<ListContextProps | null>(null);
0 commit comments