Notion Helper - v1.3.33
    Preparing search index...

    Function createBlock

    • Creates a tab block.

      Parameters

      • Optionaloptions: Object[]

        An array of child blocks. Each child block must be a paragraph block. The paragraph block's rich text will set the tab's title, and its optional icon property will set the tab's icon.

      Returns Object

      A tab block object compatible with Notion's API.

      const tabBlock = block.tab.createBlock([childBlocks]);