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]; }
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]; }