Skip to content

Warning: Failed prop type: Invalid prop tag of type function supplied to Mention, expected a single ReactElement. #38

Description

@harshil-shipmnts

http://react-component.github.io/editor-mention/examples/customizeSuggesionAndTag.html
This example uses a functional component for tag.
Why does 'Mention' expect an element to be the prop type for tag?
shouldn't it be tag: _propTypes2['default'].func instead of tag: _propTypes2['default'].element?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions