UNPKG

@udus/notion-renderer

Version:
8 lines (7 loc) 410 B
import { jsx as _jsx } from "react/jsx-runtime"; import { Property } from "./Property.js"; export const Properties = ({ properties, hidePropertyName = false, }) => { return (_jsx("div", { className: "notion-properties", children: Object.entries(properties).map(([name, value]) => { return (_jsx(Property, { name: name, value: value, hideName: hidePropertyName }, value.id)); }) })); };