UNPKG

react-together

Version:

A library to seamlessly add real-time multi-user interaction to your React app!

12 lines (10 loc) 523 B
import { UseCursorsOptions } from '../../hooks/useCursors'; import { UserCursorOptions, UserCursorProps } from './UserCursor'; interface CursorsComponents { UserCursor?: (props: UserCursorProps) => React.ReactNode; } interface CursorsProps extends UserCursorOptions, UseCursorsOptions { components?: CursorsComponents; } export default function Cursors({ omitMyValue, deleteOnLeave, throttleDelay, transitionDuration, getUserColor, components }?: CursorsProps): import("react/jsx-runtime").JSX.Element; export {};