Sha256: 201534ae47db36f56c6e65c9ce887546d5c7edbe6593e5f43d3a52d48e2c628c

Contents?: true

Size: 592 Bytes

Versions: 11

Compression:

Stored size: 592 Bytes

Contents

import { Component } from 'react';
import { I18n }      from 'react-i18nify';

import Comment       from './comment.component';

/**
 * A wrapper component for a highlighted component.
 * @class
 * @augments Component
 * @todo It's not used right now
 */
export default class FeaturedComment extends Component {
  render() {
    return (
      <section className="comments">
        <h4 className="section-heading">{ I18n.t("components.featured_comment.title") }</h4>
        <div className="comment-thread comment--pinned">
          <Comment />
        </div>
      </section>
    );
  }
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
decidim-comments-0.0.6 app/frontend/comments/featured_comment.component.jsx
decidim-0.0.6 decidim-comments/app/frontend/comments/featured_comment.component.jsx
decidim-comments-0.0.5 app/frontend/comments/featured_comment.component.jsx
decidim-0.0.5 decidim-comments/app/frontend/comments/featured_comment.component.jsx
decidim-0.0.4 decidim-comments/app/frontend/comments/featured_comment.component.jsx
decidim-comments-0.0.3 app/frontend/comments/featured_comment.component.jsx
decidim-0.0.3 decidim-comments/app/frontend/comments/featured_comment.component.jsx
decidim-comments-0.0.2 app/frontend/comments/featured_comment.component.jsx
decidim-0.0.2 decidim-comments/app/frontend/comments/featured_comment.component.jsx
decidim-comments-0.0.1 app/frontend/comments/featured_comment.component.jsx
decidim-0.0.1 decidim-comments/app/frontend/comments/featured_comment.component.jsx