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 (