Theemo / @theemo/figma / getNameFromText
Function: getNameFromText()
ts
function getNameFromText(node): string
Default implementation for getNameFromText()
Returns the name of the node in lowercase
Parameters
Parameter | Type | Description |
---|---|---|
node | Node <"TEXT" > | Figma Text Node |
Returns
string
Normalized name