Skip to content

Commit

Permalink
feat: Allow override theme for ConfigProvider (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajenkins-mparticle authored Aug 2, 2024
1 parent 019b9b5 commit 29cc614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/other/ConfigProvider/ConfigProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { LightTheme } from 'design/LightTheme'
export interface IConfigProviderProps extends AntConfigProviderProps {}

export const ConfigProvider = (props: IConfigProviderProps) => {
return <AntConfigProvider {...props} theme={LightTheme} />
return <AntConfigProvider theme={LightTheme} {...props} />
}

ConfigProvider.ConfigContext = AntConfigProvider.ConfigContext
Expand Down

0 comments on commit 29cc614

Please sign in to comment.