UNPKG

@xyflow/svelte

Version:

Svelte Flow - A highly customizable Svelte library for building node-based editors, workflow systems, diagrams and more.

9 lines (8 loc) 209 B
import type { ColorModeClass } from '@xyflow/system'; /** * Hook for receiving the current color mode class 'dark' or 'light'. * */ export declare function useColorMode(): { current: ColorModeClass; };