diaREact/resources/views/components/input.blade.php
2022-02-11 17:26:15 +01:00

4 lines
232 B
PHP

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