import { Block } from '../Block' type BreadcrumbContentType = { caption: any[], url: string } // need to example of breadcrumb object. export class Breadcrumb extends Block { static tagName:string = 'a' toHTML(): string { const breadcrumbContent:BreadcrumbContentType = this.content as BreadcrumbContentType const url = breadcrumbContent.url const classTag = ['notion', 'breadcrumb'] return `<${Breadcrumb.tagName} class="${classTag.join(' ')}" href="${url}">` } }