Skip to content

Commit

Permalink
fix(theme): forward className prop in theme-classic's Heading (#8350)
Browse files Browse the repository at this point in the history
Fixes #8327
  • Loading branch information
JoshuaKGoldberg authored Nov 16, 2022
1 parent 57c632b commit e756d73
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export default function Heading({as: As, id, ...props}: Props): JSX.Element {
hideOnScroll
? styles.anchorWithHideOnScrollNavbar
: styles.anchorWithStickyNavbar,
props.className,
)}
id={id}>
{props.children}
Expand Down

0 comments on commit e756d73

Please sign in to comment.