Skip to content

Theemo / @theemo/figma / getNameFromVariable

Function: getNameFromVariable()

ts
function getNameFromVariable(variable): string

Default implementation for getNameFromVariable()

Replaces / with .

Parameters

ParameterTypeDescription
variableFigmaVariableFigma Variable

Returns

string

normalized name

See

Documentation

Source

packages/@theemo/figma/src/defaults.ts:130