You've already forked AstralRinth
forked from didirus/AstralRinth
Add component API to docs (ex: props, events, slots)
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
---
|
||||
title: Buttons
|
||||
title: Button
|
||||
component: Button
|
||||
---
|
||||
|
||||
<script lang="ts">
|
||||
import Button from "$lib/components/elements/buttons/Button.svelte"
|
||||
import Button from "$lib/components/Button.svelte";
|
||||
</script>
|
||||
|
||||
<Button>Eat cake</Button>
|
||||
10
src/routes/components/link.md
Normal file
10
src/routes/components/link.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Link
|
||||
component: Link
|
||||
---
|
||||
|
||||
<script lang="ts">
|
||||
import Link from "$lib/components/Link.svelte";
|
||||
</script>
|
||||
|
||||
<Link href="#clicked">Click for fun</Link>
|
||||
@@ -1,11 +1,12 @@
|
||||
---
|
||||
title: Pagination
|
||||
component: Pagination
|
||||
---
|
||||
|
||||
<script lang="ts">
|
||||
import Pagination from "$lib/components/elements/Pagination.svelte"
|
||||
import Pagination from "$lib/components/Pagination.svelte"
|
||||
</script>
|
||||
|
||||
TODO
|
||||
Use pagination to show a set of page numbers and navigation directions to move through paginated data.
|
||||
|
||||
<Pagination page={20} count={50} />
|
||||
Reference in New Issue
Block a user