Other Hooks
useDarkMode
Returns a boolean which is true
if the user's viewport should be rendered in Dark mode.
import { useDarkMode } from '@electricui/components-desktop' const isDark = useDarkMode ()
Returns a boolean which is true
if the user's viewport should be rendered in Dark mode.
import { useDarkMode } from '@electricui/components-desktop' const isDark = useDarkMode ()