Add an example showing how to use this library with material UI.
Hints:
→ Add Core and ServerTarget components as usual. Required only for styles other than those handled by Material UI.
→ Set Material UI theme's mode using resolvedMode from useMode hook.
→ Create Switch or Autocomplete to select from "dark", "light" or "system" mode and set it using setMode from useMode hook.
Add an example showing how to use this library with material UI.
Hints:
→ Add
CoreandServerTargetcomponents as usual. Required only for styles other than those handled by Material UI.→ Set Material UI theme's mode using
resolvedModefromuseModehook.→ Create Switch or Autocomplete to select from "dark", "light" or "system" mode and set it using
setModefromuseModehook.