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