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

NodeTypes

Source on GitHub 

The NodeTypes type is used to define custom node types. Each key in the object represents a node type, and the value is the component that should be rendered for that type.

type NodeTypes = { [key: string]: React.ComponentType<NodeProps>; };
Last updated on