svelte-notion

0.0.3 • Public • Published

svelte-notion

A simple Svelte renderer for Notion inspired by react-notion

Installation

npm i -D svelte-notion

Example

<Notion id="2e22de6b770e4166be301490f6ffd420" />

<script>
    import Notion from 'svelte-notion'
</script>

Configuration

The Notion component accepts a few props:

Prop Default Required? Description
id null yes ID for Notion Page
api notion-api.splitbee.io no The API to use for fetching Notion data
fullPage false no Whether to display a full-width (true) or fixed-width (false) page

Readme

Keywords

none

Package Sidebar

Install

npm i svelte-notion

Weekly Downloads

1

Version

0.0.3

License

none

Unpacked Size

469 kB

Total Files

29

Last publish

Collaborators

  • tohlenforst