get loan more screens added

This commit is contained in:
victorAnumudu
2025-02-10 00:45:03 +01:00
parent ec210390b3
commit ab7657d07f
9 changed files with 265 additions and 27 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import React from 'react'
export default function Label({name, htmlfor}) {
export default function Label({name, htmlfor, error}) {
return (
<label className='text-black' htmlFor={htmlfor}>{name}</label>
<label className='text-black flex gap-1 items-center' htmlFor={htmlfor}>{name} {error && <span className='text-red-500 text-sm'>{error}</span>}</label>
)
}