[go: up one dir, main page]

Skip to content

Commit

Permalink
fix: support class property in svelte components (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-io authored May 10, 2024
1 parent 6b6dd9c commit 41c6653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/svelte/ShikiMagicMove.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
options?: MagicMoveRenderOptions & MagicMoveDifferOptions
onStart?: () => void
onEnd?: () => void
class?: string
}
const { highlighter, lang, theme, code, options, onStart, onEnd, ...props }: ShikiMagicMoveProps = $props()
Expand Down
1 change: 1 addition & 0 deletions src/svelte/ShikiMagicMovePrecompiled.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
options?: MagicMoveRenderOptions & MagicMoveDifferOptions
onStart?: () => void
onEnd?: () => void
class?: string
}
const {
Expand Down

0 comments on commit 41c6653

Please sign in to comment.