MCPcopy
hub / github.com/plouc/nivo / getColor

Function getColor

packages/colors/src/inheritedColor.ts:85–85  ·  view source on GitHub ↗
(d: Datum)

Source from the content-addressed store, hash-verified

83 // use color from parent with optional color modifiers
84 if (isInheritedColorConfigFromContext(config)) {
85 const getColor = (d: Datum) => get(d, config.from)
86
87 if (Array.isArray(config.modifiers)) {
88 const modifiers: ColorModifierFunction[] = []

Callers 15

ChordLabels.tsxFile · 0.85
useCellsStyleFunction · 0.85
useIcicleNodesFunction · 0.85
useNodeStyleFunction · 0.85
useSunburstFunction · 0.85
computeNodeAndLinksFunction · 0.85
useAreaBumpFunction · 0.85
useAreaBumpSeriesLabelsFunction · 0.85
useBumpFunction · 0.85

Calls 1

getFunction · 0.85

Tested by

no test coverage detected