docs: replace h3 with h2 headings (#1452)

This commit is contained in:
metonym 2022-08-17 07:15:29 -07:00 committed by GitHub
commit e2a90005b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
70 changed files with 552 additions and 559 deletions

View file

@ -9,14 +9,14 @@ components: ["ContentSwitcher", "Switch"]
import Preview from "../../components/Preview.svelte";
</script>
### Default
## Default
<ContentSwitcher>
<Switch text="Latest news" />
<Switch text="Trending" />
</ContentSwitcher>
### Initial selected index
## Initial selected index
<ContentSwitcher selectedIndex={1}>
<Switch text="Latest news" />
@ -24,11 +24,11 @@ components: ["ContentSwitcher", "Switch"]
<Switch text="Recommended" />
</ContentSwitcher>
### Reactive example
## Reactive example
<FileSource src="/framed/ContentSwitcher/ContentSwitcherReactive" />
### Custom switch slot
## Custom switch slot
<ContentSwitcher>
<Switch>
@ -43,21 +43,21 @@ components: ["ContentSwitcher", "Switch"]
</Switch>
</ContentSwitcher>
### Extra-large size
## Extra-large size
<ContentSwitcher size="xl">
<Switch text="All" />
<Switch text="Archived" />
</ContentSwitcher>
### Small size
## Small size
<ContentSwitcher size="sm">
<Switch text="All" />
<Switch text="Archived" />
</ContentSwitcher>
### Disabled
## Disabled
<ContentSwitcher>
<Switch disabled text="All" />