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