Files
digifi-FirstOffice/src/components/InputText.jsx
T
2025-04-07 16:13:58 +01:00

10 lines
431 B
React

import React from 'react'
export default function InputText({id, name, type='text', placeholder, value, handleChange}) {
return (
<div className='w-full h-12 overflow-hidden'>
<input id={id} name={name} type={type} value={value} placeholder={placeholder} onChange={handleChange} className='p-2 w-full h-full text-black outline-0 ring-0 border border-slate-300 focus:border-purple-600 rounded-md' />
</div>
)
}