Files
Checkmate/node_modules/@mui/base/useList/useListItem.d.ts
T

9 lines
513 B
TypeScript
Raw Normal View History

2024-05-05 11:21:00 +03:30
import { UseListItemParameters, UseListItemReturnValue } from './useListItem.types';
/**
* Contains the logic for an item of a list-like component (for example Select, Menu, etc.).
* It handles the item's mouse events and tab index.
*
* @template ItemValue The type of the item's value. This should be consistent with the type of useList's `items` parameter.
* @ignore - internal hook.
*/
export declare function useListItem<ItemValue>(parameters: UseListItemParameters<ItemValue>): UseListItemReturnValue;