Skip to content

Theemo / @theemo/figma / getValueFromText

Function: getValueFromText() ​

ts
function getValueFromText(node): string;

Defined in: figma/src/defaults.ts:102

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