UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

20 lines (19 loc) 576 B
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