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; } export class CommentNodes extends Component { constructor(props: any, context: any) { super(props, context); } render() { return (
{this.props.nodes.map(node => )}
) } }