Skip to content

[Bridge] requireNativeComponent should not require native props #1574

@jwyld

Description

@jwyld

It would be possible to provide a native UI element which has no exposed properties. I don't know how often this occurs in practice, but it certainly happened while I was first creating and exposing my native view. requireNativeComponent.js:45 verifies there are native props being exported. If there are none, it slips the UnimplementedView into place.

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