mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
feat(heading): add Heading
and Section
components (#1961)
This commit is contained in:
parent
42e50261a8
commit
76210d68d4
11 changed files with 287 additions and 2 deletions
10
tests/Heading.test.svelte
Normal file
10
tests/Heading.test.svelte
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue