notion-content-render
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -67,6 +67,5 @@ "use strict"; | ||
} | ||
// function toBulletList(block: BulletedListItemBlock): B { | ||
// const { text } = block.bulleted_list_item; | ||
// return styleFactory.bulletList(text.map(toBulletListItem)); | ||
// } | ||
function toBulletList(content) { | ||
return styleFactory.bulletList(content); | ||
} | ||
return { | ||
@@ -85,3 +84,5 @@ renderRichText: toRichTextBlock, | ||
case exports.BLOCK_TYPES.BULLETED_LIST_ITEM: | ||
return toBulletListItem(block.bulleted_list_item.text); | ||
return toBulletList([ | ||
toBulletListItem(block.bulleted_list_item.text), | ||
]); | ||
default: | ||
@@ -88,0 +89,0 @@ return styleFactory.unsupported(block); |
{ | ||
"name": "notion-content-render", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "A library to render notion content structure to React or MD", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
243
13644