aboutsummaryrefslogtreecommitdiffstats
path: root/src/theme/Root.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/theme/Root.tsx')
-rw-r--r--src/theme/Root.tsx18
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
7import type { Props } from '@theme/Root';
8import Root from '@theme-original/Root';
9
10import ActiveSectionProvider from '@site/src/components/ActiveSectionProvider';
11
12export default function RootWrapper(props: Props) {
13 return (
14 <ActiveSectionProvider>
15 <Root {...props} />
16 </ActiveSectionProvider>
17 );
18}