diff options
Diffstat (limited to 'src/theme/Root.tsx')
-rw-r--r-- | src/theme/Root.tsx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/theme/Root.tsx b/src/theme/Root.tsx new file mode 100644 index 0000000..9459e9f --- /dev/null +++ b/src/theme/Root.tsx | |||
@@ -0,0 +1,18 @@ | |||
1 | /* | ||
2 | * SPDX-FileCopyrightText: 2023 Kristóf Marussy | ||
3 | * | ||
4 | * SPDX-License-Identifier: MIT | ||
5 | */ | ||
6 | |||
7 | import type { Props } from '@theme/Root'; | ||
8 | import Root from '@theme-original/Root'; | ||
9 | |||
10 | import ActiveSectionProvider from '@site/src/components/ActiveSectionProvider'; | ||
11 | |||
12 | export default function RootWrapper(props: Props) { | ||
13 | return ( | ||
14 | <ActiveSectionProvider> | ||
15 | <Root {...props} /> | ||
16 | </ActiveSectionProvider> | ||
17 | ); | ||
18 | } | ||