UNPKG

sticky-horse

Version:

With StickyHorse allow your users to send feedback to your team.

28 lines (27 loc) 1.46 kB
import { StickyHorseConfig } from './types'; export * from './types'; import 'react-toastify/dist/ReactToastify.css'; export { CursorOverlay } from './components/CursorOverlay'; export { default as LaserCursorTrail } from './components/LaserCursorTrail'; export { UserFeedbackOverlay } from './components/UserFeedbackOverlay'; export { DraggableNote } from './components/DraggableNote'; export { StickyNoteWrapper } from './components/StickyNoteWrapper'; export { withTracking } from './components/withTracking'; export { useSocket } from './components/withTracking'; export { TrackingOverlay } from './components/TrackingOverlay'; export * from './components/TrackingDebug'; export * from './pages/tracking'; export * from './utils/trackingUtils'; export { useCursorTracking } from './hooks/useCursorTracking'; export { usePageTracking } from './hooks/usePageTracking'; export declare const initStickyHorse: ({ apiKey, email: { fromEmail, toEmail } }: { apiKey: string; email: { fromEmail: string; toEmail: string; }; }) => Promise<StickyHorseConfig>; export declare const isStickyHorseValid: () => Promise<boolean>; export declare const setScreenshotRef: (ref: React.RefObject<HTMLElement>) => void; export declare const sendNoteAsEmail: (content: string, toEmail?: string, subject?: string, screenshotBase64?: string, customFromEmail?: string) => Promise<any>; export type { User, TrackingProps, SocketContextType } from './types';