synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
20 lines (19 loc) • 576 B
JavaScript
import { jsxs as r, jsx as a } from "react/jsx-runtime";
import { formatDate as s } from "../../utils/functions/DateFormatter.js";
import d from "dayjs";
import { UserBadge as m } from "../UserCard/UserBadge.js";
function p(e) {
const { userId: o, date: t } = e;
return /* @__PURE__ */ r("div", { className: "created-on", children: [
/* @__PURE__ */ r("span", { children: [
"Created on ",
s(d(t)),
" by "
] }),
/* @__PURE__ */ a(m, { userId: o })
] });
}
export {
p as CreatedOnByUserDiv
};
//# sourceMappingURL=CreatedOnByUserDiv.js.map