Show: Inherited Protected Private Deprecated

# File `src/ui/react/src/components/buttons/button-styles-list-header.jsx`

                                (function () {
                                    'use strict';

                                    /**
                                     * The ButtonsStylesListHeader class provides the header of an list of style items.
                                     *
                                     * @class ButtonsStylesListHeader
                                     */
                                    var ButtonsStylesListHeader = React.createClass({
                                        /**
                                         * Lifecycle. Renders the UI of the button.
                                         *
                                         * @method render
                                         * @return {Object} The content which should be rendered.
                                         */
                                        render: function() {
                                            if (this.props.styles && this.props.styles.length) {
                                                return (
                                                    <span className="ae-list-header">{this.props.name}</span>
                                                );
                                            } else {
                                                return null;
                                            }
                                        }
                                    });

                                    AlloyEditor.ButtonsStylesListHeader = ButtonsStylesListHeader;
                                }());