UNPKG

@ludiks/react

Version:

Complete React library for Ludiks gamification platform - includes SDK and ready-to-use components

12 lines (11 loc) 940 B
export { Ludiks, type User, type StepProgression, type CircuitProgression, type UserReward, type LudiksProfile, type InitUserOptions, type GetProfileOptions, type TrackEventOptions, type TrackEventResponse } from '@ludiks/sdk'; export { Leaderboard } from './components/leaderboard'; export { StreakCounter } from './components/streak-counter'; export { UserProfile } from './components/user-profile'; export { GamificationToaster, showGamificationToast } from './components/gamification-toaster'; export { useLeaderboard } from './hooks/useLeaderboard'; export { useUserProfile } from './hooks/useUserProfile'; export { setLudiksConfig, getLudiksConfig, enableMockMode, disableMockMode, isMock } from './utils/ludiks-client'; export { cn } from './utils/cn'; export { mockUserProfile, mockLeaderboardData } from './mock'; export type { LudiksTheme, BaseComponentProps, LeaderboardEntry, UserStreakData, NotificationData, } from './types';