import { Component } from 'inferno'; import { CommentNode as CommentNodeI, CommunityUser, UserView, } from '../interfaces'; import { CommentNode } from './comment-node'; interface CommentNodesState {} interface CommentNodesProps { nodes: Array; moderators?: Array; admins?: Array; postCreatorId?: number; noIndent?: boolean; viewOnly?: boolean; locked?: boolean; markable?: boolean; showCommunity?: boolean; } export class CommentNodes extends Component< CommentNodesProps, CommentNodesState > { constructor(props: any, context: any) { super(props, context); } render() { return (
{this.props.nodes.map(node => ( ))}
); } }