MCPcopy Create free account
hub / github.com/atomicdata-dev/atomic-data-browser / useSettings

Function useSettings

data-browser/src/helpers/AppSettings.tsx:96–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94
95/** Hook for using App Settings, such as theme and darkmode */
96export const useSettings = (): AppSettings => {
97 const settings = useContext(SettingsContext);
98 return settings;
99};
100
101/**
102 * The context must be provided by wrapping a high level React element in

Callers 15

LogoFunction · 0.90
HotKeysWrapperFunction · 0.90
MetaSetterFunction · 0.90
NavWrapperFunction · 0.90
NavBarFunction · 0.90
NavStyleButtonFunction · 0.90
SideBarFunction · 0.90
SideBar.tsxFile · 0.90
ResourceContextMenuFunction · 0.90
ValueFormFunction · 0.90
InputMarkdownFunction · 0.90
SettingsAgentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected