8 lines
301 B
TypeScript
8 lines
301 B
TypeScript
import * as React from 'react';
|
|
import type { InternalNamePath } from './interface';
|
|
export interface ListContextProps {
|
|
getKey: (namePath: InternalNamePath) => [InternalNamePath[number], InternalNamePath];
|
|
}
|
|
declare const ListContext: React.Context<ListContextProps>;
|
|
export default ListContext;
|