UNPKG

@udus/notion-renderer

Version:
8 lines (7 loc) 365 B
import { jsx as _jsx } from "react/jsx-runtime"; import { BulletedListItem } from "./BulletedListItem.js"; export const BulletedList = ({ block }) => { return (_jsx("ul", { className: "notion-block notion-bulleted-list", children: block.bulleted_list.items.map((item) => { return _jsx(BulletedListItem, { block: item }, item.id); }) })); };