Theemo / @theemo/figma / getValueFromText
Function: getValueFromText()
ts
function getValueFromText(node): string;
Defined in: packages/figma/src/defaults.ts:102
Default 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