0.0.38 • Published 2 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
3 years ago
0.0.38
2 years ago
0.0.36
3 years ago
0.0.31
3 years ago
0.0.32
3 years ago
0.0.33
3 years ago
0.0.34
3 years ago
0.0.35
3 years ago
0.0.25
3 years ago
0.0.30
3 years ago
0.0.26
3 years ago
0.0.27
3 years ago
0.0.28
3 years ago
0.0.23
3 years ago
0.0.21
3 years ago
0.0.22
3 years ago
0.0.20
3 years ago
0.0.15
3 years ago
0.0.16
3 years ago
0.0.17
3 years ago
0.0.18
3 years ago
0.0.19
3 years ago
0.0.10
3 years ago
0.0.11
3 years ago
0.0.12
3 years ago
0.0.13
3 years ago
0.0.14
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.5
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.4
3 years ago