MCPcopy Create free account
hub / github.com/ecomfe/tempad-dev / buildFallbackProps

Function buildFallbackProps

packages/extension/mcp/tools/code/assets/vector.ts:131–136  ·  view source on GitHub ↗
(node: SceneNode, config: CodegenConfig)

Source from the content-addressed store, hash-verified

129function buildFallbackProps(node: SceneNode, config: CodegenConfig): Record<string, string> {
130 return {
131 width: normalizeCssValue(`${toDecimalPlace(node.width)}px`, config),
132 height: normalizeCssValue(`${toDecimalPlace(node.height)}px`, config)
133 }
134}

Callers 1

exportSvgEntryFunction · 0.85

Calls 2

normalizeCssValueFunction · 0.90
toDecimalPlaceFunction · 0.90

Tested by

no test coverage detected