settings page
This commit is contained in:
18
src/ui/settings/Setting.svelte
Normal file
18
src/ui/settings/Setting.svelte
Normal file
@ -0,0 +1,18 @@
|
||||
<script>
|
||||
import { slide } from 'svelte/transition';
|
||||
import ErrorAlert from '../ErrorAlert.svelte';
|
||||
|
||||
export let title;
|
||||
export let error = null;
|
||||
</script>
|
||||
|
||||
|
||||
<div class="divider"></div>
|
||||
<div class="flex justify-between">
|
||||
<h3 class="text-lg font-bold">{title}</h3>
|
||||
<slot name="input"></slot>
|
||||
</div>
|
||||
|
||||
<p class="mt-3">
|
||||
<slot name="description"></slot>
|
||||
</p>
|
Reference in New Issue
Block a user