@props([ 'label'=>'', 'name'=>'', ]) {{-- For using this component you have to pass 2 value for label and name. eg. if any error it will also shown condition is use same name in controller. --}}
* merge([ 'class' => 'block mt-1 w-full border-slate-300 rounded-md shadow-sm text-slate-900 sm:text-sm focus:ring-blue-500 focus:border-blue-500 disabled:opacity-50 dark:border-slate-500 dark:bg-slate-800 dark:placeholder-slate-500 dark:text-slate-200 dark:focus:ring-blue-500 dark:focus:border-blue-500 dark:focus:placeholder-slate-600']) !!}> @error($name)
{{ $message }}
@enderror