You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
506 B
TypeScript

import { UseListItemParameters, UseListItemReturnValue } from './useListItem.types';
/**
* Contains the logic for an item of a list-like component (e.g. 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;