UNPKG

bitcoin-inscription-viewer

Version:

🔍 A robust, production-ready React/TypeScript library for viewing Bitcoin Ordinals inscriptions with advanced optimization features including LRU caching, LaserEyes wallet integration, virtual scrolling, and performance monitoring

42 lines 1.47 kB
import React from 'react'; interface LaserEyesInscription { id: string; inscriptionId: string; content: string; number: number; address: string; contentType: string; output: string; location: string; genesisTransaction: string; height: number; preview: string; outputValue: number; offset?: number; } interface LaserEyesInscriptionGalleryProps { /** Number of columns in the grid (1-6, defaults to 3) */ columns?: 1 | 2 | 3 | 4 | 5 | 6; /** Card size in pixels (defaults to 200) */ cardSize?: number; /** Show inscription numbers */ showIndex?: boolean; /** Enable modal view on click */ enableModal?: boolean; /** Number of inscriptions per page (defaults to 20) */ pageSize?: number; /** Custom CSS class */ className?: string; /** Custom loading component */ loadingComponent?: React.ReactNode; /** Custom error component */ errorComponent?: React.ReactNode; /** Callback when inscription is clicked */ onInscriptionClick?: (inscription: LaserEyesInscription) => void; /** Custom filter function */ filterInscriptions?: (inscriptions: LaserEyesInscription[]) => LaserEyesInscription[]; } export type { LaserEyesInscriptionGalleryProps }; export declare const LaserEyesInscriptionGallery: React.FC<LaserEyesInscriptionGalleryProps>; export default LaserEyesInscriptionGallery; //# sourceMappingURL=LaserEyesInscriptionGallery.d.ts.map