Skip to content

Report error when children are passed twice #45

Description

@kLabz

This should not compile, or at least not without a warning:

<MyComponent children="Children passed as prop">Children passed as subtree</MyComponent>

(currently, subtree takes priority)

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions