import { Component, linkEvent } from 'inferno'; import { Community } from '../interfaces'; import { mdToHtml } from '../utils'; interface SidebarProps { community: Community; } interface SidebarState { } export class Sidebar extends Component { constructor(props, context) { super(props, context); } render() { let community = this.props.community; return (

{community.title}


{community.description &&
}
); } }