MCPcopy Create free account
hub / github.com/chart-kit/react-native-chart-kit-example / getInitialVisualMode

Function getInitialVisualMode

App.tsx:82–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80};
81
82const getInitialVisualMode = () => {
83 const params = getInitialSearchParams();
84
85 return params?.get("visual") === "1" || params?.get("mode") === "visual";
86};
87
88const getInitialThemeMode = (): ShowcaseThemeMode => {
89 return getThemeModeFromParams(getInitialSearchParams());

Callers

nothing calls this directly

Calls 1

getInitialSearchParamsFunction · 0.85

Tested by

no test coverage detected