You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The createMatteTheme utility is used to provide a MUI-based theme. It is the same as MUI's createTheme but it is extended to include theming for Nivo charts. The createMatteTheme expects an argument, but it should let the users pass none, in which case a default theme is used.
How to reproduce
In a TS project that uses Matte, try to create at theme: const theme = createMatteTheme();.
You will get the following warning: Expected 1 arguments, but got 0.ts(2554)
Acceptance criteria
You shouldn't get the warning when creating a theme like this, instead the default theme should be applied without warning.
The text was updated successfully, but these errors were encountered:
The
createMatteTheme
utility is used to provide a MUI-based theme. It is the same as MUI'screateTheme
but it is extended to include theming for Nivo charts. ThecreateMatteTheme
expects an argument, but it should let the users pass none, in which case a default theme is used.How to reproduce
const theme = createMatteTheme();
.Expected 1 arguments, but got 0.ts(2554)
Acceptance criteria
You shouldn't get the warning when creating a theme like this, instead the default theme should be applied without warning.
The text was updated successfully, but these errors were encountered: