File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
apps/website/src/routes/docs/styled/breadcrumb
packages/kit-styled/src/components/breadcrumb Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ const Root = component$<BreadcrumbProps>(() => {
37
37
const List = component$ <PropsOf <' ol' >>((props ) => {
38
38
return (
39
39
<ol
40
+ { ... props }
40
41
class = { cn (
41
42
' flex flex-wrap items-center gap-1.5 break-words text-sm sm:gap-2.5' ,
42
43
props .class ,
43
44
)}
44
- { ... props }
45
45
>
46
46
<Slot />
47
47
</ol >
@@ -50,7 +50,7 @@ const List = component$<PropsOf<'ol'>>((props) => {
50
50
51
51
const Item = component$ <PropsOf <' li' >>((props ) => {
52
52
return (
53
- <li class = { cn (' inline-flex items-center gap-1.5' , props .class )} { ... props } >
53
+ <li { ... props } class = { cn (' inline-flex items-center gap-1.5' , props .class )} >
54
54
<Slot />
55
55
</li >
56
56
);
@@ -60,11 +60,11 @@ const Link = component$<PropsOf<'a'> & { asChild?: boolean }>((props) => {
60
60
const Comp = props .asChild ? Slot : ' a' ;
61
61
return (
62
62
<Comp
63
+ { ... props }
63
64
class = { cn (
64
65
' text-muted-foreground transition-colors hover:text-foreground' ,
65
66
props .class ,
66
67
)}
67
- { ... props }
68
68
>
69
69
{ ! props .asChild && <Slot />}
70
70
</Comp >
@@ -85,8 +85,8 @@ const Page = component$<PropsOf<'span'>>((props) => {
85
85
role = " link"
86
86
aria-disabled = " true"
87
87
aria-current = " page"
88
- class = { cn (' font-normal text-foreground' , props .class )}
89
88
{ ... props }
89
+ class = { cn (' font-normal text-foreground' , props .class )}
90
90
>
91
91
<Slot />
92
92
</span >
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ const Root = component$<BreadcrumbProps>(() => {
14
14
const List = component$ < PropsOf < 'ol' > > ( ( props ) => {
15
15
return (
16
16
< ol
17
+ { ...props }
17
18
class = { cn (
18
19
' flex flex-wrap items-center gap-1.5 break-words text-sm sm:gap-2.5' ,
19
20
props . class ,
20
21
) }
21
- { ...props }
22
22
>
23
23
< Slot />
24
24
</ ol >
@@ -27,7 +27,7 @@ const List = component$<PropsOf<'ol'>>((props) => {
27
27
28
28
const Item = component$ < PropsOf < 'li' > > ( ( props ) => {
29
29
return (
30
- < li class = { cn ( 'inline-flex items-center gap-1.5' , props . class ) } { ... props } >
30
+ < li { ... props } class = { cn ( 'inline-flex items-center gap-1.5' , props . class ) } >
31
31
< Slot />
32
32
</ li >
33
33
) ;
@@ -37,11 +37,11 @@ const Link = component$<PropsOf<'a'> & { asChild?: boolean }>((props) => {
37
37
const Comp = props . asChild ? Slot : 'a' ;
38
38
return (
39
39
< Comp
40
+ { ...props }
40
41
class = { cn (
41
42
'text-muted-foreground transition-colors hover:text-foreground' ,
42
43
props . class ,
43
44
) }
44
- { ...props }
45
45
>
46
46
{ ! props . asChild && < Slot /> }
47
47
</ Comp >
@@ -62,8 +62,8 @@ const Page = component$<PropsOf<'span'>>((props) => {
62
62
role = "link"
63
63
aria-disabled = "true"
64
64
aria-current = "page"
65
- class = { cn ( 'font-normal text-foreground' , props . class ) }
66
65
{ ...props }
66
+ class = { cn ( 'font-normal text-foreground' , props . class ) }
67
67
>
68
68
< Slot />
69
69
</ span >
You can’t perform that action at this time.
0 commit comments