-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](docs): fix installation page in docs
- Loading branch information
1 parent
de78274
commit 618f7d6
Showing
4 changed files
with
9 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
apps/docs/src/lib/components/mainpages/GettingStarted/Guides/Guides.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<script> | ||
import useStyles from './Guides.styles'; | ||
import { UnstyledButton } from '@svelteuidev/core'; | ||
import useStyles from './Guides.styles'; | ||
export let title = 'title'; | ||
export let icon = undefined; | ||
export let className = ''; | ||
export let active = {}; | ||
export let active = false; | ||
$: ({ cx, classes, getStyles } = useStyles()); | ||
</script> | ||
|
||
<UnstyledButton on:click class={`${cx(className, getStyles(active))} guides`}> | ||
<UnstyledButton on:click class={`${cx(className, getStyles(), { active })} guides`}> | ||
<svelte:component this={icon || null} /> | ||
<p class={classes.title}>{title}</p> | ||
</UnstyledButton> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
apps/docs/src/lib/components/mainpages/GettingStarted/Installation/Installation.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters