Code Components » Importing Other Layers, Components, and Packages » Importing Any Layer From the Canvas
Importing Any Layer From the Canvas
Here’s a quick and dirty way to import any layer on the canvas: When you give your component a component instance property control, it’ll get a connector on the canvas with which you can select any layer.An example: This component has a single component instance property called instance:export default function Instance(props) { const { instance, […]