mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-31 15:29:32 +02:00
fix(theme): forward className prop in theme-classic's Heading (#8350)
Fixes https://github.com/facebook/docusaurus/issues/8327
This commit is contained in:
parent
21ad8832b3
commit
5d2dd9b6b4
1 changed files with 1 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue