@gravity-ui/uikit
Version: 
Gravity UI base styling and components
9 lines (8 loc) • 305 B
TypeScript
import type { ListItemId, ListItemType } from "../types.js";
interface GetListItemIdProps<T> {
    item: ListItemType<T>;
    groupedId: ListItemId;
    getItemId?(data: T): ListItemId;
}
export declare const getListItemId: <T>({ item, groupedId, getItemId }: GetListItemIdProps<T>) => string;
export {};