Skip to content

TwoPaneView type information not available to app code #36

@kmelmon

Description

@kmelmon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions