Partager via


React Native for Surface Duo

This video introduces Microsoft's React Native support for dual-screen devices:

There are two preview packages to help enhance React Native apps for dual-screen devices. Follow the instructions to download and install the Surface Duo emulator so you can try out the React Native support for the Surface Duo.

DualScreenInfo

A non-visual component that can be used to retrieve device information and adapt your layouts and views for dual-screens.

Learn more about DualScreenInfo

TwoPaneView

A React Native control that lays out two views side-by-side, taking account of the hinge area on the Surface Duo.

Learn more about TwoPaneView

Samples

There are a number of React Native samples available to try out.