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

4 lines
232 B
PHP
Raw Permalink Normal View History

2022-02-11 17:26:15 +01:00
@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']) !!}>