Skip to content

Commit a021c87

Browse files
committed
Make augmentMuiTheme optional
1 parent 3febff4 commit a021c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mui.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export function createMuiDsfrTheme(params: { isDark: boolean }, ...args: object[
249249

250250
export function createMuiDsfrThemeProvider(params?: {
251251
useIsDark?: () => { isDark: boolean };
252-
augmentMuiTheme: (params: {
252+
augmentMuiTheme?: (params: {
253253
/** WARNING: The types is lying here.
254254
* It's a Theme as defined in import type { Theme } from "@mui/material/styles";
255255
* That is to say before augmentation.

0 commit comments

Comments
 (0)