changeTheme
Function to execute the theme change
Parameters
newTheme
: the new theme of the user
onChange
: the action to execute when the theme changed
Function to execute the theme change
: the new theme of the user
: the action to execute when the theme changed