ListContext.d.ts 301 B

1234567
  1. import * as React from 'react';
  2. import type { InternalNamePath } from './interface';
  3. export interface ListContextProps {
  4. getKey: (namePath: InternalNamePath) => [InternalNamePath[number], InternalNamePath];
  5. }
  6. declare const ListContext: React.Context<ListContextProps>;
  7. export default ListContext;