You've already forked AstralRinth
forked from didirus/AstralRinth
Add component API to docs (ex: props, events, slots)
This commit is contained in:
14
src/routes/components/button.md
Normal file
14
src/routes/components/button.md
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Button
|
||||
component: Button
|
||||
---
|
||||
|
||||
<script lang="ts">
|
||||
import Button from "$lib/components/Button.svelte";
|
||||
</script>
|
||||
|
||||
<Button>Eat cake</Button>
|
||||
|
||||
<Button size="sm" color="primary">Small piece</Button>
|
||||
|
||||
<Button size="lg" color="danger">Big part</Button>
|
||||
Reference in New Issue
Block a user