Skip to Content
🚨 New Example: Handling Node Collisions!

NodeTypes

Source on GitHub 

The NodeTypes type is a record that maps node type identifiers to their corresponding Svelte components. This allows you to define custom node types and their implementations.

type NodeTypes = Record<string, SvelteComponent>;
Last updated on