@udus/notion-renderer
Version:

6 lines (5 loc) • 325 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { PropertyIcon } from "./PropertyIcon.js";
export const PropertyName = ({ name, value }) => {
return (_jsxs("div", { className: "notion-property-name", children: [_jsx(PropertyIcon, { propertyItem: value }), _jsx("span", { children: name })] }));
};