sticky-horse
Version:
With StickyHorse allow your users to send feedback to your team.
26 lines (25 loc) • 756 B
TypeScript
import React from 'react';
import 'react-toastify/dist/ReactToastify.css';
interface DraggableNoteProps {
id?: string;
initialPosition?: {
x: number;
y: number;
};
initialContent?: string;
color?: string;
onPositionChange?: (position: {
x: number;
y: number;
}) => void;
onContentChange?: (content: string) => void;
onClose?: () => void;
onSendEmail?: (content: string) => void;
autoFocus?: boolean;
toEmail?: string;
isFollowingMouse?: boolean;
isDraggingNew?: boolean;
setIsDraggingNew?: (isDraggingNew: boolean) => void;
}
export declare const DraggableNote: React.ForwardRefExoticComponent<DraggableNoteProps & React.RefAttributes<HTMLDivElement>>;
export {};