@udus/notion-renderer
Version:

5 lines (4 loc) • 373 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
export const MultiSelectProperty = ({ propertyItem, }) => {
return (_jsx("div", { id: propertyItem.id, className: "notion-property-item notion-multi-select", children: propertyItem.multi_select.map((select) => (_jsx("div", { className: `notion-pill notion-pill-color-${select.color}`, children: select.name }))) }));
};