onboarding completed
This commit is contained in:
committed by
Carl-Gerhard Lindesvärd
parent
97627583ec
commit
7d22d2ddad
18
apps/dashboard/src/components/sign-out-button.tsx
Normal file
18
apps/dashboard/src/components/sign-out-button.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import { SignOutButton as ClerkSignOutButton } from '@clerk/nextjs';
|
||||
import { LogOutIcon } from 'lucide-react';
|
||||
|
||||
import { Button } from './ui/button';
|
||||
|
||||
const SignOutButton = () => {
|
||||
return (
|
||||
<ClerkSignOutButton>
|
||||
<Button variant={'secondary'} icon={LogOutIcon}>
|
||||
Sign out
|
||||
</Button>
|
||||
</ClerkSignOutButton>
|
||||
);
|
||||
};
|
||||
|
||||
export default SignOutButton;
|
||||
Reference in New Issue
Block a user