add day 7
This commit is contained in:
5
day7/src/components/routerLink.ts
Normal file
5
day7/src/components/routerLink.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const RouterLink = (link: string, name: string) => {
|
||||
return `
|
||||
<a href="${link}" d-click="event.preventDefault(); loadPage('${link}')">${name}</a>
|
||||
`
|
||||
}
|
||||
Reference in New Issue
Block a user