Sha256: 32e7a71d822e49901455f7a7acd4a58690b41cec50507255eb00b5605208090f

Contents?: true

Size: 564 Bytes

Versions: 7

Compression:

Stored size: 564 Bytes

Contents

(function() {
  pageflow.timelinePage.Timeline = class extends React.Component {
    render() {
      return (
        <ul className="timeline">
          {this.renderTimelineItems()}
        </ul>
      );
    }

    renderTimelineItems() {
      var {TimelineItem} = pageflow.timelinePage;

      return this.pageLinks().map((pageLink) => {
        return (
          <TimelineItem timelineLayout={this.props.layout} pageLink={pageLink} key={pageLink.id} />
        );
      });
    }

    pageLinks() {
      return this.props.pageLinks || [];
    }
  };
}());

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pageflow-timeline-page-1.6.0 app/assets/javascripts/pageflow/timeline_page/components/timeline.jsx
pageflow-timeline-page-1.5.0 app/assets/javascripts/pageflow/timeline_page/components/timeline.jsx
pageflow-timeline-page-1.4.0 app/assets/javascripts/pageflow/timeline_page/components/timeline.jsx
pageflow-timeline-page-1.3.0 app/assets/javascripts/pageflow/timeline_page/components/timeline.jsx
pageflow-timeline-page-1.2.1 app/assets/javascripts/pageflow/timeline_page/components/timeline.jsx
pageflow-timeline-page-1.1.0 app/assets/javascripts/pageflow/timeline_page/components/timeline.jsx
pageflow-timeline-page-1.0.0 app/assets/javascripts/pageflow/timeline_page/components/timeline.jsx