Transfer Figma Layout via Relay in Android Studio

Hello everyone we use figma to create the layout of an app that is programmed in Android Studio. To transfer the layout created in figma we use relay.

Now to my problem, we want to use variants to work with different states of text fields. Variant creation of the text fields itself is not the problem but how do I get the variants created in Figma transferred to Android Studio?

Currently I have a component “InputFieldsSmall” in which the variants of the text field are created. I then dragged one of the variant text fields into my app layout. How do I now use all the created variants in Android Studio? Do all variants have to be entered in the layout? Or must the variant component also be transferred to Android Studio?

Unfortunately I have not found anything about this.