atproto explorer

animate swap icon

+1 -1
+1 -1
src/components/navbar.tsx
··· 137 <button onclick={() => setShowHandle(!showHandle())}> 138 <div 139 class={ 140 - "shrink-0 text-lg " + 141 (swapIcons[props.params.repo] ?? "i-lucide-arrow-left-right") 142 } 143 />
··· 137 <button onclick={() => setShowHandle(!showHandle())}> 138 <div 139 class={ 140 + `duration-400 shrink-0 text-lg ${showHandle() ? "rotate-y-180" : ""} ` + 141 (swapIcons[props.params.repo] ?? "i-lucide-arrow-left-right") 142 } 143 />