Sha256: 10f16b0e8c58815b071dbda6741c815f9f4b16719c8fbdea7a56e36171d7b735

Contents?: true

Size: 440 Bytes

Versions: 5

Compression:

Stored size: 440 Bytes

Contents

(function() {
  pageflow.timelinePage.TimelineItemCaption = class extends React.Component {
    render() {
      var tagline = this.props.tagline;
      var caption = this.props.caption;

      if(!(tagline || caption)) {
        return null;
      } else return(
        <div className="timeline_item-caption">
          <span className="timeline_item-tagline">{tagline}</span>
          {caption}
        </div>
      );
    }
  };
}());

Version data entries

5 entries across 5 versions & 1 rubygems

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