@udus/notion-renderer
Version:

5 lines (4 loc) • 327 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
export const EmailProperty = ({ propertyItem }) => {
return (_jsx("div", { id: propertyItem.id, className: "notion-property-item notion-email", children: propertyItem.email ? (_jsx("a", { href: `mailto:${propertyItem.email}`, children: propertyItem.email })) : ("") }));
};