Something isn't correct with the way TwoPaneView Typescript type information is being published. This results in a runtime error if you try to use the type information.
For example:
<TwoPaneView paneMode = {PaneMode.Auto}>
doesn't work.
For now you can do this instead:
<TwoPaneView paneMode = 'Auto'>
Interestingly we did something similar for types in react-native-dualscreeninfo, but those types are working correctly. We just need to study how types.d.ts is being authored/built/published.