Theemo / @theemo/figma / getNameFromVariable
Function: getNameFromVariable()
ts
function getNameFromVariable(variable): stringDefault implementation for getNameFromVariable()
Replaces / with .
Parameters
| Parameter | Type | Description |
|---|---|---|
variable | FigmaVariable | Figma Variable |
Returns
string
normalized name