import React from 'react' import type { Article } from '@/types/nostr' interface ArticlePreviewProps { article: Article loading: boolean onUnlock: () => void } export function ArticlePreview({ article, loading, onUnlock }: ArticlePreviewProps) { if (article.paid) { return (
{article.preview}
{article.content}
{article.preview}
Contenu complet disponible après un zap de {article.zapAmount} sats