Skip to Content
You are viewing the v12 docs of React Flow. You can find the latest version here.

ColorMode

Source on GitHub 

The ColorMode type defines the available color modes for the ReactFlow component. This can be used to control the theme of the flow diagram.

export type ColorMode = 'light' | 'dark' | 'system';
Last updated on