Last updated on June 17, 2025
cssInterop
This function "tags" components so that when its rendered, the runtime will know to resolve the className strings into styles. You should only use this when:
- You have a custom native component
- You are using a third party component that needs the style prop to be resolved
- You are using a third party component that does not pass all its props to its children
Usage
Examples
Here is the mapping using the core component, <TextInput />