0.0.38 • Published 4 years ago
@yawnxyz/svelte-notion v0.0.38
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 |
0.0.37
4 years ago
0.0.38
4 years ago
0.0.36
4 years ago
0.0.31
4 years ago
0.0.32
4 years ago
0.0.33
4 years ago
0.0.34
4 years ago
0.0.35
4 years ago
0.0.25
4 years ago
0.0.30
4 years ago
0.0.26
4 years ago
0.0.27
4 years ago
0.0.28
4 years ago
0.0.23
4 years ago
0.0.21
4 years ago
0.0.22
4 years ago
0.0.20
4 years ago
0.0.15
4 years ago
0.0.16
4 years ago
0.0.17
4 years ago
0.0.18
4 years ago
0.0.19
4 years ago
0.0.10
4 years ago
0.0.11
4 years ago
0.0.12
4 years ago
0.0.13
4 years ago
0.0.14
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.5
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.4
4 years ago