@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.
9 lines (8 loc) • 368 B
TypeScript
import * as React from 'react';
import { ListAction } from './listActions.types';
import { ListItemState } from './useList.types';
export interface ListContextValue<ItemValue> {
dispatch: (action: ListAction<ItemValue>) => void;
getItemState: (item: ItemValue) => ListItemState;
}
export declare const ListContext: React.Context<ListContextValue<any> | null>;