Skip to content

Theemo / @theemo/figma / getValueFromText

Function: getValueFromText()

ts
function getValueFromText(node): string

Default implementation for getValueFromText()

Returns the text from the node

Parameters

ParameterTypeDescription
nodeNode<"TEXT">Figma Text Node

Returns

string

text from the text node

See

Documentation

Source

packages/@theemo/figma/src/defaults.ts:102