"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("../index-DEZRGktf.js"),o=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const t=require("../1-CArqgiQa.js"),r=()=>a.jsxs(a.Fragment,{children:[a.jsx(e.HeroCard,{title:"NotificationCard",description:`A notification card component for displaying user activity
          notifications with avatar, action type, and timestamp.`,icon:a.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-orange-500 to-red-500 rounded-full flex items-center justify-center shadow-lg",children:a.jsx(o.Bell,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Followed Notification"}),a.jsx(e.NotificationCard,{type:"followed",actor:{name:"john_doe",avatar:t.avatar1Img},time:"2 hours ago",url:"/profile/john_doe",notifier:"you"})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Liked Notification"}),a.jsx(e.NotificationCard,{type:"liked",actor:{name:"jane_smith",avatar:t.avatar1Img},time:"5 minutes ago",url:"/post/123",notifier:"your post"})]}),a.jsxs(e.CardContainer,{className:"p-4",children:[a.jsx(e.Typography,{tag:"h5",className:"mb-3",children:"Purchased Notification"}),a.jsx(e.NotificationCard,{type:"purchased",actor:{name:"alice_wonder",avatar:t.avatar1Img},time:"1 day ago",url:"/item/456",notifier:"your item"})]})]})})})}),a.jsx(e.PropPlayground,{componentName:"NotificationCard",defaultValues:{notifier:"CryptoKing",type:"liked",time:"2 hours ago",url:"#"},excludeProps:["actor"],children:i=>a.jsx(e.NotificationCard,{...i,actor:{name:"John Doe",avatar:"https://randomuser.me/api/portraits/men/1.jpg"}})}),a.jsx(e.AutoPropsTable,{componentName:"NotificationCard"}),a.jsx(e.CardContainer,{className:"overflow-hidden",children:a.jsx(e.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:a.jsx("div",{className:"w-full p-4 sm:p-6",children:a.jsx(e.CodeBlock,{language:"tsx",code:`import { NotificationCard } from '@e-burgos/tucu-ui';

// Followed notification
<NotificationCard
  type="followed"
  actor={{ name: 'john_doe', avatar: '/path/to/avatar.jpg' }}
  time="2 hours ago"
  url="/profile/john_doe"
  notifier="you"
/>

// Liked notification
<NotificationCard
  type="liked"
  actor={{ name: 'jane_smith', avatar: '/path/to/avatar.jpg' }}
  time="5 minutes ago"
  url="/post/123"
  notifier="your post"
/>

// Purchased notification
<NotificationCard
  type="purchased"
  actor={{ name: 'alice_wonder', avatar: '/path/to/avatar.jpg' }}
  time="1 day ago"
  url="/item/456"
  notifier="your item"
/>`})})})})]});exports.default=r;
