@mocanvas/editor · function
declare function createRootState(tools: readonly StateNodeConstructor[], initial: string): StateNodeConstructorBuild a root state class with the given tools and initial tool id.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.