MCPcopy Index your code
hub / github.com/coder/coder / ColorSchemeProbe

Function ColorSchemeProbe

site/src/theme/usePreferredColorScheme.test.tsx:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26});
27
28const ColorSchemeProbe = () => {
29 return <span>{usePreferredColorScheme()}</span>;
30};
31
32describe("usePreferredColorScheme", () => {
33 it("uses the stable default snapshot during server rendering", () => {

Callers

nothing calls this directly

Calls 1

usePreferredColorSchemeFunction · 0.90

Tested by

no test coverage detected