cssInterop
Last updated on May 30th, 2025
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 />