Skip to content

Commit

Permalink
docs: update code language to angular-ts in component preview
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-ub committed Oct 22, 2024
1 parent 11fb174 commit b87b6cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const allComponents = componentUi?.files?.flatMap((file) => {
<div class="relative">
<CodeAstro
code={code}
lang="ts"
lang="angular-ts"
theme="github-dark-default"
class="mb-4 mt-6 max-h-[650px] overflow-x-auto rounded-lg border !bg-zinc-950 py-4 dark:!bg-zinc-900 px-4"
/>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/component-preview/RawCode.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { code } = Astro.props
<div data-raw-code class="relative">
<CodeAstro
code={code}
lang="ts"
lang="angular-ts"
theme="github-dark-default"
class="mb-4 mt-6 max-h-[650px] overflow-x-auto rounded-lg border !bg-zinc-950 py-4 dark:!bg-zinc-900 px-4"
/>
Expand Down

0 comments on commit b87b6cd

Please sign in to comment.