MCPcopy Create free account

hub / github.com/CTNicholas/liveblocks-parallel-routes / functions

Functions46 in github.com/CTNicholas/liveblocks-parallel-routes

↓ 2 callersFunctiongetRandomInt
(max: number)
components/Whiteboard/Whiteboard.tsx:247
↓ 1 callersFunctiongetColor
(rgb: RGB)
utils/getContrastingColor.ts:15
↓ 1 callersFunctiongetContrastingColor
(col: string)
utils/getContrastingColor.ts:1
↓ 1 callersFunctiongetInitials
(name: string)
utils/getInitials.ts:1
↓ 1 callersFunctionhandleNoteBlur
(e: FocusEvent<HTMLTextAreaElement>, noteId: string)
components/Whiteboard/Whiteboard.tsx:187
↓ 1 callersFunctionhandleNoteChange
( e: ChangeEvent<HTMLTextAreaElement>, noteId: string )
components/Whiteboard/Whiteboard.tsx:173
↓ 1 callersFunctionhandleNoteFocus
(e: FocusEvent<HTMLTextAreaElement>, noteId: string)
components/Whiteboard/Whiteboard.tsx:181
↓ 1 callersFunctionhandleNotePointerDown
( e: PointerEvent<HTMLDivElement>, noteId: string )
components/Whiteboard/Whiteboard.tsx:127
↓ 1 callersFunctionhexToRgb
(hex: string)
utils/getContrastingColor.ts:38
↓ 1 callersFunctionrandomUser
()
utils/randomUser.ts:23
↓ 1 callersFunctionstandardizeColor
(str: string)
utils/getContrastingColor.ts:28
↓ 1 callersFunctionupdateRect
()
utils/useBoundingClientRectRef.ts:25
↓ 1 callersFunctionuseBoundingClientRectRef
( ref: MutableRefObject<Element | null> )
utils/useBoundingClientRectRef.ts:19
FunctionAvatar
({ src, size = DEFAULT_SIZE, outline = false, name, color, tooltip = false, tooltipProps, clas
primitives/Avatar/Avatar.tsx:29
FunctionAvatarEllipsis
({ ellipsis, size = DEFAULT_SIZE, outline = false, tooltip = false, tooltipProps, className, sty
primitives/Avatar/Avatar.tsx:74
FunctionCanvas
({ className, style, ...props }: ComponentProps<"div">)
components/Whiteboard/Whiteboard.tsx:62
FunctionContainer
({ size = "medium", className, children, ...props }: Props)
primitives/Container/Container.tsx:9
FunctionCrossIcon
(props: ComponentProps<"svg">)
icons/Cross.tsx:3
FunctionCursor
({ x, y, color, name, className, style, ...props }: Props)
components/Cursors/Cursor.tsx:13
FunctionCursors
({ element }: Props)
components/Cursors/Cursors.tsx:15
FunctionDashboard
()
components/Dashboard/Dashboard.tsx:6
FunctionDefault
()
app/default.tsx:1
FunctionDefault
()
app/whiteboard/page.tsx:1
FunctionDefault
()
app/whiteboard/[id]/@dashPreview/default.tsx:1
FunctionDocumentIcon
(props: ComponentProps<"svg">)
components/Dashboard/DocumentIcon.tsx:3
FunctionDocumentRow
({ id }: { id: number | string })
components/Dashboard/DocumentRow.tsx:6
FunctionHeader
()
components/Header/Header.tsx:5
FunctionHome
()
app/page.tsx:3
FunctionHome
()
app/dashboard/page.tsx:8
FunctionLayout
({ children }: { children: ReactNode })
app/layout.tsx:7
FunctionLayout
({ children, dashPreview, }: { children: ReactNode; dashPreview: ReactNode; })
app/whiteboard/[id]/layout.tsx:7
FunctionLogo
({ className, ...props }: ComponentProps<"div">)
components/Logo/Logo.tsx:5
FunctionPlusIcon
(props: ComponentProps<"svg">)
icons/Plus.tsx:3
FunctionRedoIcon
(props: ComponentProps<"svg">)
icons/Redo.tsx:3
FunctionSkeleton
({ className, ...props }: ComponentProps<"span">)
primitives/Skeleton/Skeleton.tsx:5
FunctionSpinner
({ size = 16, className, ...props }: Props)
primitives/Spinner/Spinner.tsx:9
FunctionUndoIcon
(props: ComponentProps<"svg">)
icons/Undo.tsx:3
FunctionWhiteboard
({ roomId }: { roomId: string })
components/Whiteboard/Whiteboard.tsx:39
FunctionWhiteboardDashboard
()
app/whiteboard/[id]/@dashPreview/(...)dashboard/page.tsx:7
FunctionWhiteboardPage
({ params: { id }, }: { params: { id: string }; })
app/whiteboard/[id]/page.tsx:9
Functioncapitalize
(string: string)
utils/capitalize.ts:1
FunctionhandleCanvasPointerMove
(e: PointerEvent<HTMLDivElement>)
components/Whiteboard/Whiteboard.tsx:159
FunctionhandleCanvasPointerUp
()
components/Whiteboard/Whiteboard.tsx:151
FunctionnormalizeTrailingSlash
(string: string)
utils/normalizeTrailingSlash.ts:1
FunctionremoveCursor
()
components/Cursors/Cursors.tsx:53
FunctionupdateCursor
(event: PointerEvent)
components/Cursors/Cursors.tsx:35