You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
434 B
21 lines
434 B
import { Card } from '@/components/ui/card' |
|
import dayjs from 'dayjs' |
|
import Content from '../Content' |
|
|
|
export default function Preview({ content }: { content: string }) { |
|
return ( |
|
<Card className="p-3"> |
|
<Content |
|
event={{ |
|
content, |
|
kind: 1, |
|
tags: [], |
|
created_at: dayjs().unix(), |
|
id: '', |
|
pubkey: '', |
|
sig: '' |
|
}} |
|
/> |
|
</Card> |
|
) |
|
}
|
|
|