import React from "react"; import { NOOP } from "../../../utils/function-utils"; type ListContextType = { /** * A callback function which is being called when the item is being focused by keyboard navigation * @param ListItem id */ updateFocusedItem: (id: string) => void; }; export const ListContext = React.createContext({ updateFocusedItem: NOOP });