(async () => {
return await $.get(this.url);
});
private content(content: string, url: string) {
if (isMarkDown(url)) {
return (
);
} else {
return ;
}
}
public render() {
return (
{this.props.title &&
{this.props.title}
}
{this.source.isComplete &&
this.content(this.source.result!, this.url)}
);
}
}