import { ReactNode } from 'react' ; export default class BreadcrumbModel { _title : string ; _node : ReactNode ; _link : string ; param title param link param node constructor ( { title , link , node } ) { this . _title = title ; this . _link = link ; this . _node = node ; } get title ( ) : string { return this . _title ; } get link ( ) : string { return this . _link ; } get node ( ) : ReactNode { return this . _node ; } }