@props([
    'disabled' => false,
    'readonly' => false,
    'type' => 'text',
])

<input
    type="{{ $type }}"
    {{ $disabled ? 'disabled' : '' }}
    {{ $readonly ? 'readonly' : '' }}
    {!! $attributes->merge(['class' => 'input']) !!}
>
