urlsnail/resources/views/components/text-input.blade.php

4 lines
199 B
PHP
Raw Normal View History

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