From d00664d5ad8b9a2f3fe6258ae5fb46a1b9a2df1f Mon Sep 17 00:00:00 2001 From: Christoph Scheffauer Date: Sat, 10 Jan 2026 21:48:11 +0100 Subject: [PATCH] fix: pass through props to themeprovider --- src/components/ThemeProvider/ThemeProvider.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ThemeProvider/ThemeProvider.tsx b/src/components/ThemeProvider/ThemeProvider.tsx index 4f5b7ec5a..222dd0829 100644 --- a/src/components/ThemeProvider/ThemeProvider.tsx +++ b/src/components/ThemeProvider/ThemeProvider.tsx @@ -36,13 +36,14 @@ import './ThemeProvider.style.scss'; /** * Provides a collection of CSSVariables based on a ThemeToken to all child elements inside of a rendered `
` element. */ -const ThemeProvider: FC = ({ children, id, style, theme }: Props) => { +const ThemeProvider: FC = ({ children, id, style, theme, ...restProps }: Props) => { const themeClassStable = `${THEME_CLASS_PREFIX_STABLE}-${theme || DEFAULTS.THEME}`; return (