Add support for custom cursor components (#994)
* Add support for custom cursor components * Add tests for the custom cursor props * Make the main tldraw app take the components prop * feat: add the ability to hide cursors * Update cursor props * Update imports Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com> Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
This commit is contained in:
parent
b7c968e2aa
commit
d721ae6a2f
16 changed files with 157 additions and 40 deletions
|
@ -1,4 +1,4 @@
|
|||
import { Tldraw, useFileSystem } from '@tldraw/tldraw'
|
||||
import { Tldraw, TldrawProps, useFileSystem } from '@tldraw/tldraw'
|
||||
import * as React from 'react'
|
||||
import { useMultiplayerAssets } from '~hooks/useMultiplayerAssets'
|
||||
import { useMultiplayerState } from '~hooks/useMultiplayerState'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue