Skip to content

Errors when inserting React node inside the paragraph tag in Tab component #401

@Aleks239

Description

@Aleks239

Hello,

I noticed that the current Tab component implementation renders the p tag with the text after selecting a tag. However, in the docs the content prop has the type of React node. It means when I use the React node as a content rendered when Tab is clicked, it gives the errors in the console. (It happens because I may insert the div inside the p tag which is rendered by the framework)
screenshot 2019-02-13 at 11 28 32

What is the point of having react node type on the content prop?

Best regards,

Aleksandr

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