@udus/notion-renderer
Version:

6 lines (5 loc) • 320 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { File } from "../Common/File.js";
export const FilesProperty = ({ propertyItem }) => {
return (_jsx("div", { id: propertyItem.id, className: "notion-property-item notion-files", children: propertyItem.files.map((file) => (_jsx(File, { file: file }))) }));
};