File tree 6 files changed +10
-10
lines changed
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ const rightNavItems: NavItem[] = [
182
182
183
183
<div v-if =" props.breadcrumbs.length > 1" class =" flex w-full border-b border-sidebar-border/70" >
184
184
<div class =" mx-auto flex h-12 w-full items-center justify-start px-4 text-neutral-500 md:max-w-7xl" >
185
- <Breadcrumbs :breadcrumbs =" props. breadcrumbs" />
185
+ <Breadcrumbs :breadcrumbs =" breadcrumbs" />
186
186
</div >
187
187
</div >
188
188
</div >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ interface Props {
6
6
class? : string ;
7
7
}
8
8
9
- const props = withDefaults (defineProps <Props >(), {
9
+ const { class : containerClass } = withDefaults (defineProps <Props >(), {
10
10
class: ' ' ,
11
11
});
12
12
@@ -20,7 +20,7 @@ const tabs = [
20
20
</script >
21
21
22
22
<template >
23
- <div :class =" ['inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800', props.class ]" >
23
+ <div :class =" ['inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800', containerClass ]" >
24
24
<button
25
25
v-for =" { value, Icon, label } in tabs"
26
26
:key =" value"
Original file line number Diff line number Diff line change @@ -26,5 +26,5 @@ const icon = computed(() => {
26
26
</script >
27
27
28
28
<template >
29
- <component :is =" icon" :class =" className" :size =" props. size" :stroke-width =" props. strokeWidth" :color =" props. color" />
29
+ <component :is =" icon" :class =" className" :size =" size" :stroke-width =" strokeWidth" :color =" color" />
30
30
</template >
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ interface Props {
6
6
breadcrumbs? : BreadcrumbItemType [];
7
7
}
8
8
9
- const props = withDefaults (defineProps <Props >(), {
9
+ withDefaults (defineProps <Props >(), {
10
10
breadcrumbs : () => [],
11
11
});
12
12
</script >
13
13
14
14
<template >
15
- <AppLayout :breadcrumbs =" props. breadcrumbs" >
15
+ <AppLayout :breadcrumbs =" breadcrumbs" >
16
16
<slot />
17
17
</AppLayout >
18
18
</template >
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ interface Props {
8
8
breadcrumbs? : BreadcrumbItemType [];
9
9
}
10
10
11
- const props = withDefaults (defineProps <Props >(), {
11
+ withDefaults (defineProps <Props >(), {
12
12
breadcrumbs : () => [],
13
13
});
14
14
</script >
15
15
16
16
<template >
17
17
<AppShell class =" flex-col" >
18
- <AppHeader :breadcrumbs =" props. breadcrumbs" />
18
+ <AppHeader :breadcrumbs =" breadcrumbs" />
19
19
<AppContent >
20
20
<slot />
21
21
</AppContent >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ interface Props {
9
9
breadcrumbs? : BreadcrumbItemType [];
10
10
}
11
11
12
- const props = withDefaults (defineProps <Props >(), {
12
+ withDefaults (defineProps <Props >(), {
13
13
breadcrumbs : () => [],
14
14
});
15
15
</script >
@@ -18,7 +18,7 @@ const props = withDefaults(defineProps<Props>(), {
18
18
<AppShell variant =" sidebar" >
19
19
<AppSidebar />
20
20
<AppContent variant =" sidebar" >
21
- <AppSidebarHeader :breadcrumbs =" props. breadcrumbs" />
21
+ <AppSidebarHeader :breadcrumbs =" breadcrumbs" />
22
22
<slot />
23
23
</AppContent >
24
24
</AppShell >
You can’t perform that action at this time.
0 commit comments