Skip to content

Commit

Permalink
Update StickyHeader.astro
Browse files Browse the repository at this point in the history
  • Loading branch information
DrKley authored Apr 19, 2024
1 parent 76c24d1 commit 41a737e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/StickyHeader.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ const {
defaultClass = "",
activeClass = "",
class: className = "",
...rest
} = Astro.props;
---

<header class:list={["astronav-sticky-header", className, defaultClass]}>
<header class:list={["astronav-sticky-header", className, defaultClass]} {...rest}>
<slot />
</header>

Expand Down

0 comments on commit 41a737e

Please sign in to comment.