added tons of features
This commit is contained in:
15
components/auth/form-success.tsx
Normal file
15
components/auth/form-success.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import {CheckCheckIcon} from 'lucide-react'
|
||||
|
||||
interface FormSuccessProps {
|
||||
message?: string
|
||||
}
|
||||
|
||||
export const FormSuccess = ({message}: FormSuccessProps) => {
|
||||
if (!message) return null
|
||||
return (
|
||||
<div className='flex items-center space-x-4 rounded-lg bg-emerald-500/30 p-2 text-emerald-500'>
|
||||
<CheckCheckIcon className='h-4 w-4' />
|
||||
<p>{message}</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user