How to work with imported component

This line is most likely unnecessary since the importComponent variable already stores a ComponentNode.

Find the TextNode you need in your imported component and change its value.

Or change the value of the component’s text property and the variant like this: