A string, an array of strings, or an options object representing the list item content.
The item's content as a string, an array of strings, or an array of rich text objects.
An array of child block objects.
Color for the text.
A bulleted list item block object compatible with Notion's API.
// Use with a string
const simpleItem = block.bulleted_list_item.createBlock("Simple list item");
// Use with an array of strings
const multiLineItem = block.bulleted_list_item.createBlock(["Line 1", "Line 2"]);
// Use with options object
const complexItem = block.bulleted_list_item.createBlock({
rich_text: "Complex item",
color: "red",
children: [
// Child blocks would go here
]
});
Creates a bulleted list item block.