mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 12:43:24 +00:00
Formated Files
This commit is contained in:
parent
d5631b309a
commit
e768d9181f
138 changed files with 1829 additions and 1851 deletions
|
@ -1,4 +1,4 @@
|
|||
import { XCircle } from "lucide-react";
|
||||
import { XCircle } from 'lucide-react';
|
||||
|
||||
interface FormErrorsProps {
|
||||
id: string;
|
||||
|
@ -11,15 +11,15 @@ export const FormErrors = ({ id, errors }: FormErrorsProps) => {
|
|||
return (
|
||||
<div
|
||||
id={`${id}-error`}
|
||||
aria-live="polite"
|
||||
className="mt-2 text-xs text-rose-500"
|
||||
aria-live='polite'
|
||||
className='mt-2 text-xs text-rose-500'
|
||||
>
|
||||
{errors?.[id]?.map((error: string) => (
|
||||
<div
|
||||
key={error}
|
||||
className="flex items-center font-medium p-2 border border-rose-500 bg-rose-500/10 rounded-sm"
|
||||
className='flex items-center rounded-sm border border-rose-500 bg-rose-500/10 p-2 font-medium'
|
||||
>
|
||||
<XCircle className="h-4 w-4 mr-2" />
|
||||
<XCircle className='mr-2 h-4 w-4' />
|
||||
{error}
|
||||
</div>
|
||||
))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue