I'm trying to create a wrapper around a layer via a function, the function is working but it seems I can't get access to my layer name inside the function. Is there a nice workaround for it?(I want to avoid to pass the layer name as a parameter)
layers created in framer and not through importing from sketch or ps don't have a name property set by default. In order to access the name property of your layer that needs to be wrapped, you need to set the name manually upon initialization or right before wrapping it. http://share.framerjs.com/gh8w61814d0l/
Thanks for the answer!