UNPKG

wallet-engine-lib

Version:

Professional, reusable wallet UI components with Gelato SDK integration. Enterprise-grade React components for building smart wallet applications.

30 lines (29 loc) 1.02 kB
import { default as React } from 'react'; import { ActivityItem } from '../types/activity'; export interface ActivityLogProps { /** Wallet address to display activities for */ walletAddress: string; /** List of activity items */ activities?: ActivityItem[]; /** Loading state */ isLoading?: boolean; /** Refresh callback */ onRefresh?: () => void; /** Additional CSS classes */ className?: string; /** Callback for error handling */ onError?: (error: Error) => void; /** Filter activities by type */ filterByType?: ActivityItem['type']; /** Filter activities by status */ filterByStatus?: ActivityItem['status']; /** Search query for activity descriptions */ searchQuery?: string; /** Maximum number of activities to display */ maxActivities?: number; /** Disable the component */ disabled?: boolean; /** Show activity count */ showActivityCount?: boolean; } export declare const ActivityLog: React.FC<ActivityLogProps>;