Skip to content

Theemo / @theemo/figma / getNameFromVariable

Function: getNameFromVariable()

ts
function getNameFromVariable(variable): string;

Defined in: packages/figma/src/defaults.ts:130

Default implementation for `getNameFromVariable()`

Replaces / with .

Parameters

ParameterTypeDescription
variableFigmaVariableFigma Variable

Returns

string

normalized name

See

Documentation