feat(heading): add Heading and Section components

This commit is contained in:
Eric Liu 2024-04-21 14:24:36 -07:00
commit 6806fa24ce
11 changed files with 287 additions and 2 deletions

10
tests/Heading.test.svelte Normal file
View file

@ -0,0 +1,10 @@
<script lang="ts">
import { Heading, Section } from "../types";
</script>
<Section tag="div">
<Heading>Heading 1</Heading>
<Section level="{5}">
<Heading>Starts at Heading 5</Heading>
</Section>
</Section>