snort/packages/app/src/Element/NoteGhost.tsx

21 lines
497 B
TypeScript
Raw Normal View History

2022-12-28 17:05:20 +00:00
import "./Note.css";
2023-01-20 11:11:50 +00:00
import ProfileImage from "Element/ProfileImage";
2022-12-28 17:05:20 +00:00
2023-02-07 19:47:57 +00:00
interface NoteGhostProps {
className?: string;
children: React.ReactNode;
}
export default function NoteGhost(props: NoteGhostProps) {
const className = `note card ${props.className ?? ""}`;
return (
<div className={className}>
<div className="header">
<ProfileImage pubkey="" />
</div>
<div className="body">{props.children}</div>
<div className="footer"></div>
</div>
);
2023-02-06 21:42:47 +00:00
}