feat: replace lucide icons

This commit is contained in:
shadcn 2023-06-13 16:02:07 +04:00
parent 44f93d338e
commit 3c34307ab0
15 changed files with 457 additions and 204 deletions

View file

@ -3,9 +3,9 @@
import * as React from 'react'
import { signIn } from '@auth/nextjs/client'
import { type Session } from '@auth/nextjs/types'
import { Loader2Icon } from 'lucide-react'
import { Button } from '@/components/ui/button'
import { IconSpinner } from '@/components/ui/icons'
export interface UserMenuProps {
session?: Session
@ -25,7 +25,7 @@ export function UserMenu({ session }: UserMenuProps) {
}}
disabled={isLoading}
>
{isLoading && <Loader2Icon className="mr-2 h-4 w-4 animate-spin" />}
{isLoading && <IconSpinner className="mr-2 animate-spin" />}
Login
</Button>
)