UNPKG

@mui/base

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

10 lines (9 loc) 513 B
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;