Latest stable docs
NativeWind
Use NativeWind only when the host Expo app already has NativeWind configured.
- Reference version
- SDK 56
- Bundled version
- 56.0.6
- Platform
- Android
Requirements
- The app must already be configured for NativeWind.
- The bubble renderer must be a React Native renderer registered with
setBubbleRenderer()orsetBubbleRendererForBubble(). - NativeWind classes are evaluated by the host app. The overlay service does not configure NativeWind for you.
Renderer
function CounterBubble() {
return (
<View className="rounded-2xl bg-zinc-950 px-4 py-3">
<Text className="text-sm font-semibold text-white">Counter</Text>
</View>
);
}
setBubbleRenderer(CounterBubble);