- Android
- iOS
- Web
Platform View
Embed platform-rendered content in an engine surface.
Engine API NPlatformViewnayan-ui/components
The child is rendered by the host platform. Supply a web element on React or a React Native view on native.
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| children | ReactNode | Optional | |
| className | string | Optional | Supported Tailwind-style utilities, resolved entirely in Rust. See the engine README. |
| style | ComponentStyleProp | Optional | |
| accessibilityLabel | string | Optional |