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

24 lines 893 B
import React from 'react'; import { ContentAnalysis } from './contentAnalyzer'; import { LaserEyesWallet } from '@/services/LaserEyesService'; interface InscriptionRendererProps { inscriptionId: string; inscriptionNumber?: number | string; contentUrl?: string; contentType?: string; size?: number; className?: string; showHeader?: boolean; showControls?: boolean; autoLoad?: boolean; apiEndpoint?: string; htmlRenderMode?: 'iframe' | 'sandbox'; forceIframe?: boolean; onAnalysisComplete?: (analysis: ContentAnalysis) => void; laserEyesWallet?: LaserEyesWallet; preferLaserEyes?: boolean; contentFetcher?: (inscriptionId: string) => Promise<any>; } export declare const InscriptionRenderer: React.NamedExoticComponent<InscriptionRendererProps>; export default InscriptionRenderer; //# sourceMappingURL=InscriptionRenderer.d.ts.map