snort/src/Element/NoteGhost.tsx

19 lines
510 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-01-16 17:48:25 +00:00
export default function NoteGhost(props: any) {
2023-02-06 21:42:47 +00:00
const className = `note card ${props.className ? props.className : ''}`
2022-12-28 17:05:20 +00:00
return (
2023-02-06 21:42:47 +00:00
<div className={className}>
2022-12-28 17:05:20 +00:00
<div className="header">
2023-01-01 19:57:27 +00:00
<ProfileImage pubkey="" />
2022-12-28 17:05:20 +00:00
</div>
<div className="body">
2023-01-06 14:05:50 +00:00
{props.children}
2022-12-28 17:05:20 +00:00
</div>
<div className="footer">
</div>
</div>
);
2023-02-06 21:42:47 +00:00
}