feat(heading): add Heading and Section components (#1961)

This commit is contained in:
Eric Liu 2024-04-21 14:27:26 -07:00 committed by GitHub
commit 76210d68d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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>