File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 44
55 let {
66 ref = $bindable (null ),
7+ loadingStatus = $bindable (" loading" ),
78 class : className,
89 ... restProps
910 }: AvatarPrimitive .RootProps = $props ();
1011 </script >
1112
1213<AvatarPrimitive .Root
1314 bind:ref
15+ bind:loadingStatus
1416 data-slot =" avatar"
1517 class ={cn (" relative flex size-8 shrink-0 overflow-hidden rounded-full" , className )}
1618 {...restProps }
Original file line number Diff line number Diff line change 3434 class ={cn (
3535 " bg-primary z-50 size-2.5 rotate-45 rounded-[2px]" ,
3636 " data-[side=top]:translate-x-1/2 data-[side=top]:translate-y-[calc(-50%_+_2px)]" ,
37- " data-[side=bottom]:-translate-y-[calc(-50%_+_1px)] data-[side=bottom]:translate-x-1/2 " ,
37+ " data-[side=bottom]:-translate-x-1/2 data-[side=bottom]:- translate-y-[calc(-50%_+_1px)] " ,
3838 " data-[side=right]:translate-x-[calc(50%_+_2px)] data-[side=right]:translate-y-1/2" ,
39- " data-[side=left]:translate-y-[calc(50%_-_3px)]" ,
39+ " data-[side=left]:- translate-y-[calc(50%_-_3px)]" ,
4040 arrowClasses
4141 )}
4242 {...props }
You can’t perform that action at this time.
0 commit comments