Skip to content

TwoPaneView type information not available to app code #36

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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