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

11
types/Heading/Heading.svelte.d.ts vendored Normal file
View file

@ -0,0 +1,11 @@
import type { SvelteComponentTyped } from "svelte";
export type SectionLevel = 1 | 2 | 3 | 4 | 5 | 6;
export interface HeadingProps {}
export default class Heading extends SvelteComponentTyped<
HeadingProps,
Record<string, any>,
{ default: {} }
> {}