Tab

suggest change
import React from 'react';

class Tab extends React.Component {
    constructor(props) {
        super(props);
    }

    render() {
        return React.createElement(
            'li',
            {
                className: this.props.active ? 'active' : '',
                onMouseDown: this.props.onMouseDown
            },
            React.createElement(
                'span',
                null,
                this.props.panelClass.title()
            )
        );
    }
}

panelClass property of Tab instance must contain class of panel used for description.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents