import { ContentType } from "../ContentType" import { IContentType } from "../ContentType.interface" export class Icon extends ContentType implements IContentType { constructor(jsonRaw:any) { super(jsonRaw) } toHTML(): string { if (this.type === 'emoji') { return `
${this.content}
` } else if (this.type === 'external') { return `
` } else if (this.type === 'file') { return `
` } return `` } }