We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 826412b commit 3c817d3Copy full SHA for 3c817d3
resources/js/components/AppearanceTabs.vue
@@ -2,12 +2,6 @@
2
import { useAppearance } from '@/composables/useAppearance';
3
import { Monitor, Moon, Sun } from 'lucide-vue-next';
4
5
-interface Props {
6
- class?: string;
7
-}
8
-
9
-const { class: containerClass = '' } = defineProps<Props>();
10
11
const { appearance, updateAppearance } = useAppearance();
12
13
const tabs = [
@@ -18,7 +12,7 @@ const tabs = [
18
</script>
19
20
14
<template>
21
- <div :class="['inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800', containerClass]">
15
+ <div class="inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800">
22
16
<button
23
17
v-for="{ value, Icon, label } in tabs"
24
:key="value"
0 commit comments