flotilla/src/app/components/SpaceJoinNotifications.svelte

20 lines
544 B
Svelte
Raw Normal View History

2026-07-04 00:17:57 +00:00
<script lang="ts">
type Props = {
notifications: boolean
}
let {notifications = $bindable()}: Props = $props()
</script>
<div class="card card-sm">
<div class="flex justify-between gap-12">
<div class="flex flex-col gap-1">
<strong>Enable notifications for this space</strong>
<p class="text-xs opacity-75">
Get notified about new activity in this space. You can change this later in settings.
</p>
</div>
<input type="checkbox" class="toggle" bind:checked={notifications} />
</div>
</div>