Theemo / @theemo/figma / getValueFromText
Function: getValueFromText()
ts
function getValueFromText(node): stringDefault implementation for getValueFromText()
Returns the text from the node
Parameters
| Parameter | Type | Description |
|---|---|---|
node | Node<"TEXT"> | Figma Text Node |
Returns
string
text from the text node