Skip to content

Commit

Permalink
fix textbock using the wrong tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Tropix126 committed Apr 10, 2022
1 parent 39a1a80 commit 5dd3e9d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/lib/TextBlock/TextBlock.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
export let element: HTMLElement = null;
const tags = {
caption: "caption",
body: "body",
bodyStrong: "bodyStrong",
bodyLarge: "bodyLarge",
subtitle: "subtitle",
title: "title",
titleLarge: "titleLarge",
display: "display",
caption: "span",
body: "span",
bodyStrong: "h6",
bodyLarge: "h5",
subtitle: "h4",
title: "h3",
titleLarge: "h2",
display: "h1"
}
</script>

Expand Down

0 comments on commit 5dd3e9d

Please sign in to comment.