Skip to content

Adding only one tab #55

Open
Open
@Gintez

Description

@Gintez

When adding only one <Tab.panel> it returns an error 'Uncaught (in promise) TypeError: Cannot assign to read only property 'children' of object '#''.
The problem is with with this line of code:
if (!Array.isArray(this.props.children)) { this.props.children = [this.props.children]; }

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