pedi3/resources/views/components/input.blade.php

4 lines
199 B
PHP
Raw Normal View History

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