MCPcopy Create free account
hub / github.com/bernaferrari/FigmaToCode / isTwigContentNode

Function isTwigContentNode

packages/backend/src/tailwind/tailwindMain.ts:237–239  ·  view source on GitHub ↗
(node: SceneNode)

Source from the content-addressed store, hash-verified

235}
236
237const isTwigContentNode = (node: SceneNode): boolean => {
238 return node.type === "INSTANCE" && node.name.startsWith("TwigContent");
239}
240
241// Helper function to extract component name from an instance
242const extractComponentName = (node: InstanceNode): string => {

Callers 2

isTwigComponentNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected