Submit
Path:
~
/
/
usr
/
share
/
grafana
/
public
/
app
/
core
/
hooks
/
File Content:
useNavModel.ts
import { NavModel } from '@grafana/data'; import { useSelector } from 'app/types'; import { getNavModel } from '../selectors/navModel'; export const useNavModel = (id: string): NavModel => { const navIndex = useSelector((state) => state.navIndex); return getNavModel(navIndex, id); };
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
useBusEvent.ts
599 bytes
0644
useCleanup.ts
602 bytes
0644
useMediaQueryChange.ts
519 bytes
0644
useNavModel.ts
291 bytes
0644
useQueryParams.ts
592 bytes
0644
N4ST4R_ID | Naxtarrr