MCPcopy
hub / github.com/zcreativelabs/react-simple-maps / prepareMesh

Function prepareMesh

src/utils.js:52–59  ·  view source on GitHub ↗
(outline, borders, path)

Source from the content-addressed store, hash-verified

50}
51
52export function prepareMesh(outline, borders, path) {
53 return outline && borders
54 ? {
55 outline: { ...outline, rsmKey: "outline", svgPath: path(outline) },
56 borders: { ...borders, rsmKey: "borders", svgPath: path(borders) },
57 }
58 : {}
59}
60
61export function prepareFeatures(geographies, path) {
62 return geographies

Callers 1

useGeographiesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…