MCPcopy Create free account
hub / github.com/microsoft/SandDance / schemeOption

Function schemeOption

packages/sanddance-explorer/src/palettes/scheme.ts:10–18  ·  view source on GitHub ↗
(selected: string, scheme: string)

Source from the content-addressed store, hash-verified

8}
9
10export function schemeOption(selected: string, scheme: string): ISchemeOption {
11 return {
12 key: scheme,
13 text: scheme,
14 selected: selected === scheme,
15 scheme: scheme,
16 children: schemesJSX[scheme],
17 };
18}
19
20export const schemesJSX: { [scheme: string]: JSX.Element } = {};

Callers 5

sequentialMultiHueFunction · 0.90
sequentialSingleHueFunction · 0.90
divergingFunction · 0.90
categoricalFunction · 0.90
dualFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected