TaskA/resources/views/components/text-input.blade.php
2024-06-16 13:56:32 +05:45

4 lines
199 B
PHP

@props(['disabled' => false])
<input {{ $disabled ? 'disabled' : '' }} {!! $attributes->merge(['class' => 'border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 rounded-md shadow-sm']) !!}>