I have a component which has different variant as well as boolean and text properties, when I set values via API using instance.setProperties and the object passed changes the variant of the instance
Code example
figma.currentPage.selection[0].setProperties({
"Text#48:1": "$20.4",
"Color": "Black",
"hasSalesPrice": "True",
"StrikeThrough Text#48:4": "$68"
})
the problem is that changing the variant and text properties at the same time doesn’t seem to be working.
any thoughts?