@udus/notion-renderer
Version:

6 lines (5 loc) • 415 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { isFullUser } from "@notionhq/client";
export const LastEditedByProperty = ({ propertyItem, }) => {
return (_jsx("div", { id: propertyItem.id, className: "notion-property-item notion-people", children: isFullUser(propertyItem.last_edited_by) ? (_jsx("span", { children: propertyItem.last_edited_by.name }, propertyItem.last_edited_by.id)) : null }));
};