aura-glass
Version:
A comprehensive glassmorphism design system for React applications with 142+ production-ready components
37 lines • 1.15 kB
TypeScript
import React from "react";
export interface CursorUser {
id: string;
name: string;
color: string;
avatar?: string;
x: number;
y: number;
lastActivity: number;
isActive: boolean;
selection?: {
startX: number;
startY: number;
endX: number;
endY: number;
};
action?: "typing" | "selecting" | "drawing" | "idle";
}
export interface GlassCollaborativeCursorProps {
users?: CursorUser[];
currentUserId?: string;
showCursorTails?: boolean;
showUserLabels?: boolean;
showAvatars?: boolean;
cursorSize?: "small" | "medium" | "large";
fadeTimeout?: number;
maxTrailLength?: number;
realTimeMode?: boolean;
soundEnabled?: boolean;
showSelections?: boolean;
showActions?: boolean;
onCursorMove?: (userId: string, x: number, y: number) => void;
onUserAction?: (userId: string, action: string) => void;
className?: string;
}
export declare const GlassCollaborativeCursor: React.ForwardRefExoticComponent<GlassCollaborativeCursorProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=GlassCollaborativeCursor.d.ts.map